carve out distro information to distro-info package

Bug #1012439 reported by Rolf Leggewie
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
debootstrap (Debian)
New
Undecided
Unassigned
debootstrap (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

debootstrap includes hard-coded information about Debian and Ubuntu distribution releases in /usr/share/debootstrap/scripts/$SUITE. This volatile information should be carved out to and maintained in the distro-info package instead.

Tags: patch

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debootstrap (Ubuntu):
status: New → Confirmed
Revision history for this message
Benjamin Drung (bdrung) wrote :

Attached is a patch that queries distro-info in case of not finding the suite script. Therefore newer suites will be supported without updating debootstrap (if distro-info is installed). Nothing will change in case of not having distro-info installed. Therefore you can still bootstrap Debian without having distro-info. In addition to applying this patch, debootstrap should suggest or recommend distro-info.

Revision history for this message
Benjamin Drung (bdrung) wrote :

PS: I will upload this patch to Ubuntu in one week if no objections are raised.

tags: added: patch
Revision history for this message
Ken Sharp (kennybobs) wrote :

Current devel branch does this for Ubuntu, but it needs forwarding to Debian.

Changed in debootstrap (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.