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