[Buildd-tools-devel] Bug#395062: Bug#427047: Not found on recent version or svn.

Roger Leigh rleigh at whinlatter.ukfsn.org
Mon Jan 7 23:14:03 UTC 2008


Raúl Sánchez Siles <rasasi78 at gmail.com> writes:

>   Hello:

Hi!

>   You said that the patch is commited on svn as of 08 Jul 2007, but
> there have been 2 releases since then 1.1.5-1 and 1.1.5-1.1, and
> also checked the svn repository but the patch doesn't seem to be
> applied.
>
>   I would expect it on bin/schroot/setup dir.

The patch I applied was to enable a general mechanism for allowing
user customisation of the setup scripts.  This is in the current
release.  The generic bit is the "script-config" option (default in
/etc/schroot/script-defaults.  This file gets sourced by the setup
scripts to modify their behaviour.  You could add an FSTAB option here
for 10mount to use.

The next step now involves using this general mechanism for allowing
custom mounts.  This has not yet been added--I'm still not sure of the
best approach here, though reading a separate file with the list of
mounts in it in the format of /etc/fstab is probably the best way to
go.  However, there is of course the issue of parsing the file format.
I think a C++ $libexecdir/schroot-mount wrapper calling setmntent()
and getmntent(), then calling mount(1) with the appropriate options
for each mount in turn is the most portable approach here.  Otherwise,
we can't portably read things like embedded spaces and escapes without
platform-specific knowledge.

BTW, schroot moved from SVN to GIT.  You can get the latest version
from

  git://git.debian.org/git/buildd-tools/schroot.git

(git clone git://git.debian.org/git/buildd-tools/schroot.git)


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080107/5923ac54/attachment-0002.pgp 


More information about the Buildd-tools-devel mailing list