X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=mymk-basefile;h=61cfe998d2e1ccc911976e25f84f8ea56ca12b92;hb=cef9b6ede5c1e028bed1b4dc7895f5dfa121ad6b;hp=d2b4328792fd3f53129c80dc6093f164e6cb796f;hpb=db2ca58c3e327f73b64189dec14cf7e7a01b6d34;p=automated-distro-installer diff --git a/mymk-basefile b/mymk-basefile index d2b4328..61cfe99 100755 --- a/mymk-basefile +++ b/mymk-basefile @@ -59,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 "$@"