summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-02-19 16:44:42 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:07 +0100
commit9d8b1f59274d646a48efe7b26e0263459e5afd52 (patch)
treef6e18ab57eb333978e423fc559feb45228104c4f
parent7963a3991305151ae2a713e4695aeb9e2854c962 (diff)
downloadlive-boot-9d8b1f59274d646a48efe7b26e0263459e5afd52.tar.gz
live-boot-9d8b1f59274d646a48efe7b26e0263459e5afd52.zip
Mounting aufs layer with detached inode index, this solves the 'leaving unclean filesystem when using persistency' problem.
-rw-r--r--debian/live-initramfs.init2
-rwxr-xr-xscripts/live2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init
index 5c79401..294355d 100644
--- a/debian/live-initramfs.init
+++ b/debian/live-initramfs.init
@@ -198,6 +198,8 @@ case "${1}" in
[ "${VERBOSE}" != no ] && log_end_msg 1
;;
esac
+
+ mount -o remount,ro /live/cow
;;
*)
diff --git a/scripts/live b/scripts/live
index 9479f3f..a8dc6c8 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1104,7 +1104,7 @@ setup_unionfs ()
if [ "${UNIONTYPE}" = "aufs" ]
then
- roopt="rr"
+ roopt="rr,xino=/tmp/aufs.xino"
else
roopt="ro"
fi