[Buildd-tools-devel] Bug#500746: Bug#500746: feature request: use	pre-existing schroot or run early script hook
    Lucas Nussbaum 
    lucas at lucas-nussbaum.net
       
    Thu Feb 19 08:04:33 UTC 2009
    
    
  
On 01/10/08 at 17:11 +0100, Roger Leigh wrote:
> Could you possibly explain what exactly you would like to do with this
> feature?  I would be happy to add some general mechanism to sbuild,
> such as your patch, but I'd just like to understand the use case for it.
Hi,
Since that feature could help me as well, I'm jumping in and describing
my use case.
I often run rebuilds with two different "configurations", to be able to
compare the results. For example:
- stock Debian unstable
- Debian unstable with newer GCC
The "newer GCC" part is implemented by adding a line in
/etc/apt/sources.list and running apt-get update && upgrade, so apt will:
- install the newer GCC
- if needed, install the newer deps not part of build-essential (think
  of GCJ).
I implemented that by using two chroots: unstable and unstable-gcc. But
it's painful to maintain both chroots, and it would be much more easier
to customize my stock Debian unstable chroot before building, using a
hook script.
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
    
    
More information about the Buildd-tools-devel
mailing list