Bug#395062: [Buildd-tools-devel] Bug#395062: add additional bind mount points to chroot

Kees Cook kees at outflux.net
Sat Oct 28 00:44:53 CEST 2006


On Fri, Oct 27, 2006 at 11:29:17PM +0100, Roger Leigh wrote:
>   setup-script-config=/etc/schroot/custom-config
> 
> This could be unique to one chroot, or could be shared by different
> chroots.  As it would be a shell script, it can be easily adapted by
> users who want to allow customisation of their own setup scripts.
> 
> Does this sound OK?

I think it could be made to work.  I wanted to use the "mount" shell 
functions to do the work.  Perhaps take my changes to the 10mount 
script, and then if CHROOT_MOUNT_EXTRA is defined in the 
'setup-script-config', it would do the right things as far as mounting?

I love the idea of making easier to customize, but I want to make sure I 
can still get into the 10mount script easily.  :)

Thanks!

-- 
Kees Cook                                            @outflux.net




More information about the Buildd-tools-devel mailing list