[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: More pbuilder use!

Hash: SHA1

Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> writes:

> Roger Leigh <rleigh@whinlatter.ukfsn.org> writes:

> I often do "debuild -us -uc -nc" outside the chroot till i get the
> package to build and then build just source and dump it into the local
> buildd to confirm a full, clean build works too.

I do this also.

>> You could do the initial build in the chroot, but because it's a
>> minimal environment it's not geared for development, just building,
>> which makes it impractical (no editors, for example).
> xemacs /mnt/chroot/home/mrvn/pkg/foo.c
> Not realy a problem.

Sure, editors were just one thing.  The point I failed to make was
that for a dedicated sbuild chroot, you won't have the build-deps
installed anyway, so without a lot of manual messing you won't be able
to build in the chroot until you have a properly built package to feed
to sbuild, which will then install and purge the deps for you.  The
chroot is not really suitable for anything but exclusive use by sbuild
(otherwise you risk messing it up by installing random stuff so that
it's no better than the host environment...).

You could always use a separate chroot for user access, but I don't
personally have the need (nor the free disk space).


- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>


Reply to: