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

Making (c)fdisk and parted selectable in anna

I'm planning to file wishlist BRs against util-linux and parted with the 
attached patches. The patches add a menu item number of 99900 to these 
udebs and cleans up their descriptions.

The addition of the menu item number makes the udebs be displayed in the 
list of optional components, and thus easier to install as optional 
components by users. They will not be shown in the main menu.
This mechanism is currently already used by the openssh-client udeb.

This has been discussed before and Joey felt that this should be done 
cleaner [1], but that could take a long time and IMO having these 
components selectable is useful enough to do it this way for now.

If there are no objections, I will file the BRs in a few days.


[1] For example by making such udebs optional priority and all other extra 
and then modifying anna to display the ones that are optional.

diff -Nru parted-1.7.1/debian/changelog parted-1.7.1/debian/changelog
--- parted-1.7.1/debian/changelog	2007-03-06 10:06:02.000000000 +0100
+++ parted-1.7.1/debian/changelog	2008-02-09 14:42:30.000000000 +0100
@@ -1,3 +1,11 @@
+parted (1.7.1-5.2~fjp) UNRELEASED; urgency=low
+  * Give the parted udeb a menu item number. This allows it to be selected
+    manually in anna. Update the udeb description for consistency and remove
+    the long description to save space.
+ -- Frans Pop <fjp@debian.org>  Sat, 09 Feb 2008 14:41:21 +0100
 parted (1.7.1-5.1) unstable; urgency=high
   * Non-maintainer upload.
diff -Nru /tmp/WTcecvyHiu/parted-1.7.1/debian/control /tmp/aXi7DkCXUt/parted-1.7.1/debian/control
--- parted-1.7.1/debian/control	2006-11-08 08:06:55.000000000 +0100
+++ parted-1.7.1/debian/control	2008-02-09 14:41:07.000000000 +0100
@@ -45,23 +45,9 @@
 Section: debian-installer
 Priority: extra
 Depends: ${shlibs:Depends}
+XB-Installer-Menu-Item: 99900
 Provides: parted
-Description: The GNU Parted disk partition resizing program
- GNU Parted is a program that allows you to create, destroy,
- resize, move and copy hard disk partitions. This is useful
- for creating space for new operating systems, reorganising
- disk usage, and copying data to new hard disks. This package
- contains the Parted binary and manual page.
- .
- This package is similar to the "big" parted package, but has
- less cosmetical features resulting in smaller binary. Intended 
- to be used in debian-installer.     
- .
- .
- The nature of this software means that any bugs could cause
- massive data loss. While there are no known bugs at the moment,
- they could exist, so please back up all important files before
- running it, and do so at your own risk.
+Description: Manually partition a hard drive (parted)
 Package: libparted1.7-1
 Architecture: any
diff -u util-linux-2.13.1/debian/changelog util-linux-2.13.1/debian/changelog
--- util-linux-2.13.1/debian/changelog
+++ util-linux-2.13.1/debian/changelog
@@ -1,3 +1,10 @@
+util-linux (2.13.1-2~fjp) UNRELEASED; urgency=low
+  * Give the fdisk and cfdisk udebs a menu item number. This allows them to be
+    selected manually in anna. Update the udeb descriptions for consistency.
+ -- Frans Pop <fjp@debian.org>  Sat, 09 Feb 2008 14:32:22 +0100
 util-linux (2.13.1-1) unstable; urgency=low
   * New Upstream Release [Karel Zak]
diff -u util-linux-2.13.1/debian/control util-linux-2.13.1/debian/control
--- util-linux-2.13.1/debian/control
+++ util-linux-2.13.1/debian/control
@@ -67,8 +67,8 @@
 Section: debian-installer
 Depends: ${shlibs:Depends}
 XC-Package-Type: udeb
-Description: Partition a hard drive (manual)
- fdisk package
+XB-Installer-Menu-Item: 99900
+Description: Manually partition a hard drive (fdisk)
 Package: cfdisk-udeb
 Architecture: alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r mips mipsel powerpc ppc64 hurd-i386 s390
@@ -79,2 +79,2 @@
-Description: Partition a hard drive (cfdisk)
- Cfdisk package
+XB-Installer-Menu-Item: 99900
+Description: Manually partition a hard drive (cfdisk)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: