summaryrefslogtreecommitdiff
path: root/scripts/install/install-image-new
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install/install-image-new')
-rwxr-xr-xscripts/install/install-image-new2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-new b/scripts/install/install-image-new
index 3097392a..5c87c1ea 100755
--- a/scripts/install/install-image-new
+++ b/scripts/install/install-image-new
@@ -94,7 +94,7 @@ if ! try_mount "-o loop,ro -t squashfs $target_squash $READ_ROOT"; then
echo 'Exiting...'
exit 1
fi
-margs="-t unionfs -o noatime,dirs=$rw_dir=rw:$READ_ROOT=ro unionfs $INST_ROOT"
+margs=$(gen_mopts "overlayfs" $rw_dir $READ_ROOT $INST_ROOT)
if ! try_mount "$margs"; then
echo 'Exiting...'
exit 1