X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mymk-basefile;h=a784e00d10ca17f8dbd4237bce33686931c5d17f;hb=21353fd35096ba6786c1bae3046b763bfeac5890;hp=2a7f453b7f63e8052db82390e5089dacc6b2833f;hpb=527f50b38e4a94a771215131cafe016a97ba83cd;p=automated-distro-installer diff --git a/mymk-basefile b/mymk-basefile index 2a7f453..a784e00 100755 --- a/mymk-basefile +++ b/mymk-basefile @@ -16,14 +16,20 @@ them often. Better to build our all our own. Args I've used before: +-z BUSTER64 -z STRETCH64 -z XENIAL64 +-z NABIA64 +-z ETIONA64 -z FLIDAS64 -z BELENOS64 -h|--help Print help and exit. -Note: Uses GNU getopt options parsing style +Note: Uses GNU getopt options parsing style. + +Usage of mk-basefile: + EOF $script_dir/fai/config/basefiles/mk-basefile -h exit $1 @@ -45,9 +51,16 @@ for d in belenos flidas; do $s ln -sf gutsy $d; fi done +d=etiona +if [[ ! -L $d && ! -e $d ]]; then + $s ln -sf trisquel etiona; +fi if [[ $BASEFILE_DIR ]]; then cd $BASEFILE_DIR fi +if awk '$2 == "/tmp" && $4 ~ /nodev/' /proc/mounts | grep -q . || [[ $? == 141 ]]; then + $s mount -o remount,dev /tmp + fi $s $script_dir/fai/config/basefiles/mk-basefile "$@"