[arch-releng] [PATCH 2/2] Fixed aufs mount option
Gerhard Brauer
gerbra at archlinux.de
Wed Jun 3 05:12:43 EDT 2009
Current version of aufs2 need a other syntax for adding/appending a
branch.
---
archiso/hooks/archiso | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index cf3b161..d779478 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -33,7 +33,7 @@ _mnt_squashfs()
fi
/bin/mount -r -t squashfs "/dev/loop${LOOP_NUM}" "/tmpfs/mnt/loop${LOOP_NUM}"
if [ "${mnt}" = "/" ]; then
- /bin/mount -t aufs -o remount,add=:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root"
+ /bin/mount -t aufs -o remount,append:/tmpfs/mnt/loop${LOOP_NUM}=ro none "/real_root"
else
_mnt_bind "/tmpfs/mnt/loop${LOOP_NUM}" "${mnt}"
fi
--
1.6.3.1
More information about the arch-releng
mailing list