From 0a3d19b439f366ab986761e79be6c722822a1a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Thu, 10 Sep 2009 09:29:53 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B0=D1=82=D1=87=D0=B0=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20/etc/init.d/root?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/profile/3patch/etc/init.d/root.diff?scratch_ws!= | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/profile/3patch/etc/init.d/root.diff?scratch_ws!= b/install/profile/3patch/etc/init.d/root.diff?scratch_ws!= index 46b9220..a32d1db 100644 --- a/install/profile/3patch/etc/init.d/root.diff?scratch_ws!= +++ b/install/profile/3patch/etc/init.d/root.diff?scratch_ws!= @@ -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 /