[Buildd-tools-devel] Bug#395062: Bug#427047: Not found on recent version or svn.
Roger Leigh
rleigh at whinlatter.ukfsn.org
Tue Jan 8 00:36:35 UTC 2008
On Mon, Jan 07, 2008 at 11:14:03PM +0000, Roger Leigh wrote:
> 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.
Just FYI, I added a schroot-mount tool to bin/schroot-mount. It's
adapted from schroot-listmounts, and does not work yet (it's a
direct copy+search&replace), but will once I've added the
setmntent/getmntent bits.
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: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080108/d6282173/attachment-0001.pgp
More information about the Buildd-tools-devel
mailing list