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

Bug#422439: base-config: support installing sarge as oldstable



Package: base-config
Version: 2.53.10.2
Severity: important

The patch below would add support to apt-setup to install sarge now that
it is oldstable. I'm not completely sure that it is worth doing this, but
OTOH we do have a Sarge point release coming up anyway.

I've tested the patch and this change is actually enough to have a netboot
installation just work.
If accepted, I would do similar updates in choose-mirror, cdrom-detect and
iso-scan so that CD-based and hd-media installations work as well and
selecting oldstable is supported at medium and low priority.

An important question is if we should do a call for translation updates for
this. I've kept the changes as isolated as possible (by including the
description for oldstable as a separate para), but there are languages that
have the choices translated.
The upside is that we only need a translation update for one of the packages
involved and can then merge the translation to the other packages (with some
sed magic as in base-config the order of the options is different from the
rest).

Joey: if you'd like me to do this as an NMU, that would be fine with me.


diff -u base-config-2.53.10.2/apt-setup base-config-2.53.10.3/apt-setup
--- base-config-2.53.10.2/apt-setup     2005-05-13 21:00:26.000000000 +0000
+++ base-config-2.53.10.3/apt-setup     2007-05-05 23:13:43.000000000 +0000
@@ -667,6 +667,8 @@
        # Figure out which suite to use.
        if apt-cache policy | grep "o=Debian,a=" | grep -q 'a=testing'; then
            SUITE="testing"
+       elif apt-cache policy | grep "o=Debian,a=" | grep -q 'a=oldstable'; then
+           SUITE="oldstable"
        else
            SUITE="stable"
        fi
diff -u base-config-2.53.10.2/apt-setup.templates base-config-2.53.10.3/apt-setup.templates
--- base-config-2.53.10.2/apt-setup.templates   2005-05-13 21:00:26.000000000 +0000
+++ base-config-2.53.10.3/apt-setup.templates   2007-05-05 23:13:43.000000000 +0000
@@ -4,7 +4,7 @@

 Template: mirror/suite
 Type: select
-_Choices: stable, unstable, testing
+_Choices: stable, unstable, testing, oldstable
 Default: testing
 _Description: Debian distribution to use:
  Debian comes in several flavors. Stable is well-tested and rarely changes.
@@ -12,6 +12,8 @@
  that receives many of the new versions from unstable if they are not too
  buggy.
  .
+ Oldstable is the previous stable distribution.
+ .
  Please choose which version of Debian you wish to install.

 Template: mirror/http/proxy

Attachment: pgpCxEaaotMMj.pgp
Description: PGP signature


Reply to: