From 9c681f2404a9d5e99634b6be37fb9e5e76e5d1c7 Mon Sep 17 00:00:00 2001 From: udeved Date: Thu, 25 Jun 2015 17:53:18 +0200 Subject: [PATCH] [util-iso-aufs] perhaps fixes the long standing umount error on certain conditions --- lib/util-iso-aufs.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/util-iso-aufs.sh b/lib/util-iso-aufs.sh index 72bf9b0..a097095 100644 --- a/lib/util-iso-aufs.sh +++ b/lib/util-iso-aufs.sh @@ -17,10 +17,7 @@ mount_root_image(){ mount_custom_image(){ msg2 "mount [${1##*/}] on [${custom}-image]" - mount -t aufs -o br="$1":${work_dir}/${custom}-image=ro none "$1" - - msg2 "append [root-image] on [${1##*/}]" - mount -t aufs -o remount,append:${work_dir}/root-image=ro none "$1" + mount -t aufs -o br="$1":${work_dir}/${custom}-image=ro:${work_dir}/root-image=ro none "$1" } # $1: image path