more aramo/jammy updates
[automated-distro-installer] / mymk-basefile
index d2b4328792fd3f53129c80dc6093f164e6cb796f..7e165032628618c082124d5ee0ac37031906a3d6 100755 (executable)
@@ -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 "$@"