summaryrefslogtreecommitdiff
path: root/scripts/boot/9990-overlay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/boot/9990-overlay.sh')
-rwxr-xr-xscripts/boot/9990-overlay.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index 80b5726..dba042b 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -335,7 +335,8 @@ setup_unionfs ()
then
# FIXME: handle PERSISTENCE_READONLY
unionmountopts="-t ${cow_fstype} -o noatime,union,${cow_mountopt} ${cowdevice}"
- mount_full $unionmountopts "${unionmountpoint}"
+ # unionmount only works with util-linux mount
+ mount.util-linux $unionmountopts "${unionmountpoint}"
else
cow_dir="/live/overlay${dir}"
rootfs_dir="${rootfs}${dir}"