Исправление патча для /etc/init.d/root

master
parent ab1e9931a5
commit 0a3d19b439

@ -1,6 +1,6 @@
--- root.orig 2009-09-08 19:06:18.000000000 +0400
+++ root 2009-09-09 10:01:37.000000000 +0400
@@ -19,7 +19,23 @@
--- root.orig
+++ root
@@ -19,7 +19,23 @@ start()
ebegin "Remounting root filesystem read/write"
case "${RC_UNAME}" in
@ -11,7 +11,7 @@
+ mount -n $SCRATCH_ROOT /mnt/scratch
+ if [[ -n `cat /proc/mounts | grep "none / aufs"` ]];
+ then
+ mount -n -o remount,rw /
+ mount -n -t aufs -o remount,rw none /
+ mount -n -t aufs -o remount,rw none /mnt/builder
+ else
+ mount -n -t unionfs -o remount,dirs=/mnt/scratch/workspace=rw:/mnt/scratch/delta=ro:/mnt/scratch/calculate=ro unionfs /

Loading…
Cancel
Save