X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=mymk-basefile;h=7e165032628618c082124d5ee0ac37031906a3d6;hp=d2b4328792fd3f53129c80dc6093f164e6cb796f;hb=6ca069946c8ff88d79d1ae421e0eda60ae1c514c;hpb=ed3681256885d295f39d5df60784d3281a2f8719 diff --git a/mymk-basefile b/mymk-basefile index d2b4328..7e16503 100755 --- a/mymk-basefile +++ b/mymk-basefile @@ -16,9 +16,11 @@ 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 @@ -59,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 "$@"