Factorize common code and files in a sub-directory debian/common.
This pull request is made of two commits because it is easier like this to understand the commit diffs:
debian/common/make_debian_img_for_model.sh is based on the original debian/nanopi-r5c/make_debian_img.sh with very few changes. But it handles the two board models and requires a first parameter r5c or r5s.
the second commit provides wrapper scripts at the previous location debian/nanopi-[r5c|r5s]/make_debian_img.sh, to restore the previous way of starting the process.
Factorize common code and files in a sub-directory debian/common.
This pull request is made of two commits because it is easier like this to understand the commit diffs:
debian/common/make_debian_img_for_model.sh
is based on the originaldebian/nanopi-r5c/make_debian_img.sh
with very few changes. But it handles the two board models and requires a first parameterr5c
orr5s
.debian/nanopi-[r5c|r5s]/make_debian_img.sh
, to restore the previous way of starting the process.