[Buildd-tools-devel] [PATCH] Make sbuild-upgrade call dist-upgrade
Roger Leigh
rleigh at whinlatter.ukfsn.org
Fri May 16 13:05:27 UTC 2008
On Thu, May 15, 2008 at 08:25:09PM +0100, martin f. krafft wrote:
> From: martin f. krafft <madduck at madduck.net>
>
> upgrade doesn't install new packages or removes old ones, so it's unsuitable
> for the upgrade of a sid system. dist-upgrade, on the other hand, should work
> fine on a stable system.
Thanks for the patch!
One reason we use upgrade rather than dist-upgrade is so that in a
chroot used for building, broken dependencies won't result in key
packages such as build-essential being removed. That said, I haven't
seen this happen in practice, and even if it did, it's not exactly hard
work to debootstrap a new one.
As a result, I'd like to either
1) Add a new command, sbuild-distupgrade, to do a dist-upgrade rather
than an upgrade
2) Add the patch, but provide a command-line option to force it to not
do a full dist-upgrade.
(1) is easiest, but has the disadvantage of adding another sbuild-foo
command. Do you have any preference?
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.
More information about the Buildd-tools-devel
mailing list