[gobolinux-devel] [gobolinux-commits] tools/Scripts/bin UnionSandbox
Lucas C. Villa Real
lucasvr at gobolinux.org
Mon Jan 8 04:00:43 UTC 2007
On 1/7/07, André Detsch <detsch at gobolinux.org> wrote:
> CVSROOT: /sources/goboscripts
> Module name: tools
> Changes by: André Detsch <detsch> 07/01/07 20:30:25
>
> Modified files:
> Scripts/bin : UnionSandbox
>
> Log message:
> ChrootCompile may be running on a directory not within /dev/root (e.g., /Mount/HDA6).
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/tools/Scripts/bin/UnionSandbox?cvsroot=goboscripts&r1=1.18&r2=1.19
>
> Patches:
> Index: UnionSandbox
> ===================================================================
> RCS file: /sources/goboscripts/tools/Scripts/bin/UnionSandbox,v
> retrieving revision 1.18
> retrieving revision 1.19
> diff -u -b -r1.18 -r1.19
> --- UnionSandbox 7 Jan 2007 19:12:38 -0000 1.18
> +++ UnionSandbox 7 Jan 2007 20:30:25 -0000 1.19
> @@ -120,7 +120,7 @@
> # Mount unionfs
>
> # unionfs doesn't follow bind-mounts, so we must mount everyone sitted on the top of /Programs
> -bindprograms="`cat /proc/mounts | grep "^/dev/root /Programs" | grep -v union_mp.tmp | awk {'print $2'} | sed 's,.*Area-.*\(/\)\(.*/\)\(.*/\)\(.*\),/\2\3\4,g'`"
> +bindprograms="`cat /proc/mounts | grep " /Programs" | grep -v union_mp.tmp | awk {'print $2'} | sed 's,.*Area-.*\(/\)\(.*/\)\(.*/\)\(.*\),/\2\3\4,g'`"
> unionSandbox=( ${unionSandbox[@]} $bindprograms )
>
> if `cat /proc/mounts | grep -q "^/dev/root /Files/Compile"`
Is it necessary to do the same for the line above which checks
/Files/Compile? Does it work fine for you if you use ChrootCompile
--local-repository?
--
Lucas
powered by /dev/dsp
More information about the gobolinux-devel
mailing list