[gobolinux-devel] [gobolinux-commits] tools/Scripts/bin SandboxInstall
Jonas Karlsson
jonka750 at student.liu.se
Fri Feb 23 23:36:33 UTC 2007
2007/2/23, Lucas C. Villa Real <lucasvr at gobolinux.org>:
> CVSROOT: /sources/goboscripts
> Module name: tools
> Changes by: Lucas C. Villa Real <lucasvr> 07/02/23 19:41:17
>
> Modified files:
> Scripts/bin : SandboxInstall
>
> Log message:
> Removing '*__dir_opaque' files left over the rw_sandbox when using unionsandbox.
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/tools/Scripts/bin/SandboxInstall?cvsroot=goboscripts&r1=1.38&r2=1.39
>
> Patches:
> Index: SandboxInstall
> ===================================================================
> RCS file: /sources/goboscripts/tools/Scripts/bin/SandboxInstall,v
> retrieving revision 1.38
> retrieving revision 1.39
> diff -u -b -r1.38 -r1.39
> --- SandboxInstall 16 Feb 2007 13:02:29 -0000 1.38
> +++ SandboxInstall 23 Feb 2007 19:41:17 -0000 1.39
> @@ -160,6 +160,7 @@
> rm -f Programs/Glibc/Settings/ld.so.cache
> rm -f System/Kernel/Devices/null
> find -type d | xargs rmdir -p --ignore-fail-on-non-empty &> /dev/null
> + find -type f -name "*__dir_opaque" | xargs rm -f &> /dev/null
> if [ "$goboIndex" ]
> then
> # Sometimes writes to symlinks let files appear in a previous directory of the same program.
I haven't tested this but shouldn't the "__dir_opaque" file be removed
first, so that directories that only includes those files, and will be
empty, is removed by the 'rmdir' command?
--
/Jonas
More information about the gobolinux-devel
mailing list