X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mymk-basefile;h=61cfe998d2e1ccc911976e25f84f8ea56ca12b92;hb=4acdd54dd395d63eef73778547fa8cc119ac6fca;hp=e70f97b14e34999d3b0f00d13c95b954aad227df;hpb=7a4577880f3d646ec68d60b1cd3a38f110f784bb;p=automated-distro-installer diff --git a/mymk-basefile b/mymk-basefile index e70f97b..61cfe99 100755 --- a/mymk-basefile +++ b/mymk-basefile @@ -16,8 +16,10 @@ them often. Better to build our all our own. Args I've used before: +-z BUSTER64 -z STRETCH64 -z XENIAL64 +-z ETIONA64 -z FLIDAS64 -z BELENOS64 @@ -57,4 +59,7 @@ 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 "$@"