[buildd-tools-devel] Bug#566513: Bug#566513: schroot: GNU/kFreeBSD support

Roger Leigh rleigh at codelibre.net
Tue Feb 9 00:14:16 UTC 2010


On Sat, Jan 23, 2010 at 06:39:51PM +0100, Aurelien Jarno wrote:
> Please find below a patch to support GNU/kFreeBSD. I don't know how you
> plan to deal with architecture specific changes in scripts, so I have
> decided to just modify them in this patch. With it I have been able to
> get schroot working in plain, directory, block device and loopback modes.
> I haven't tested the other modes yet.

Thanks.  I've updated schroot on the master branch using the following
patch (it's several changes in git).  Note this hasn't been tested yet;
I'm really just looking for some review before I put it to use.  I'll
do some testing tomorrow when I have some more time to review it.  It
may need some further work, so I would appreciate your comments.

I've updated the schroot build system (configure and makefiles) to
allow different configuration files to be installed for different
platforms.  I've also introduced a PLATFORM variable into the setup
scripts to allow conditional behaviour depending upon the platform.
Using your patch, I've added in the appropriate conditional behaviour
for a "freebsd" platform (both freebsd and kfreebsd-gnu).

Note that the setup scripts are installed into /etc/schroot/default,
not just into /etc/schroot.  This is a change in addition to the
portability changes, so if you manually set script-config in your
chroot definitions, it might need adjusting (if not, it's automatic).


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: schroot-kfreebsd-portability.patch
Type: text/x-diff
Size: 17555 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100209/3e8a61fc/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100209/3e8a61fc/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list