Hi there,

Today I've got unionfs to work within ChrootCompile successfully. The
big problem we had was that union-mounts do not follow other mounts
inside the origin dir. That is, if one has /Programs/Foo/1.0
bind-mounted at chroot/Programs/Foo/1.0, and then performs a
union-mount of chroot/Programs at chroot/union_mount/Programs, the
original contents from /Programs/Foo/1.0 are not carried together.

The fix was to perform an extra union-mount of all bind-mounted
entries within the chroot. It would be ideal to have something like
'mount --rbind' on unionfs, but until that doesn't exist we can live
with this workaround with no problems, as it reproduces quite well
rbind's behaviour.

In order to test unionfs on ChrootCompile, one has to update their
snapshot at /Programs/ChrootCompile, and then use an updated snapshot
inside $chroot/Unpacked/i686/{Compile,Scripts} too.

Good hacking :-)

-- 
Lucas
powered by /dev/dsp
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to