t11 and new partitioner fixes
[automated-distro-installer] / mymk-basefile
index e70f97b14e34999d3b0f00d13c95b954aad227df..3aef5b5cf592e5eccdc3be13fe0ded99db14486d 100755 (executable)
@@ -16,8 +16,14 @@ them often. Better to build our all our own.
 
 Args I've used before:
 
+-z BULLSEYE64
+-z BUSTER64
 -z STRETCH64
 -z XENIAL64
+
+-z ARAMO64
+-z NABIA64
+-z ETIONA64
 -z FLIDAS64
 -z BELENOS64
 
@@ -57,4 +63,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 "$@"