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

Bug#268555: two partition types for efi on ia64



Package: partman-efi
Closes: 268555

The following patch closes this bug.  It also cleans up the missiing
display of file system type in the various menus.

Note:
  This does change the template file but it deletes a string does not
add or change any text which will not require any translation when it
will trigger the same for the various .po files.

On Friday 27 August 2004 19:35, Joey Hess wrote:
> Package: partman-efi
> Severity: normal
> Tags: d-i
>
> I am installing from sid, with the sid udebs, and in partman, the
> list of possible partition types includes two for efi:
>
> EFI boot partition (FAT16)
> Use the partition as an EFI boot partition
>
> The second of these should be removed. Also, the first on comes
> before ext3 in the menu for some reason, which is fine if there is no
> existing efi partition, but sorta annyoing once the efi partition is
> set up and many other partitions are being made.

-- 
*************
Jim Lieb			Wild Open Source Inc.
lieb@wildopensource.com		Cell: 831.295.9317
Office: 831.421.0883            Fax:  831.421.0885
Index: debian/partman-efi.templates
===================================================================
--- debian/partman-efi.templates	(revision 21963)
+++ debian/partman-efi.templates	(working copy)
@@ -25,9 +25,9 @@
 # Up to 10 character positions
 _Description: EFIboot
 
-Template: partman/filesystem_long/efi
-Type: text
-_Description: EFI boot partition (FAT16)
+#Template: partman/filesystem_long/efi
+#Type: text
+#_Description: EFI boot partition (FAT16)
 
 Template: partman/filesystem_short/efi
 Type: text
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 21963)
+++ debian/changelog	(working copy)
@@ -1,3 +1,12 @@
+partman-efi (4) UNRELEASED; urgency=low
+
+  * Jim Lieb
+    - Get file system type displayed properly
+    - remove extra menu label
+    - Closes: #268555
+
+ -- Jim Lieb <lieb@wildopensource.com>  Fri,  24 Sep 2004 12:00:00 -0700
+
 partman-efi (3) UNRELEASED; urgency=low
 
   * Joey Hess
Index: update.d/efi_visuals
===================================================================
--- update.d/efi_visuals	(revision 0)
+++ update.d/efi_visuals	(revision 0)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+. /usr/share/debconf/confmodule
+
+dev=$1
+num=$2
+id=$3
+size=$4
+type=$5
+fs=$6
+path=$7
+name=$8
+
+cd $dev
+
+[ -f $id/method ] || exit 0
+method=$(cat $id/method)
+
+case "$method" in
+    efi)
+	db_metaget partman/method_short/efi description || RET=''
+	printf "${RET:-efi}" >$id/visual_filesystem
+	>$id/visual_mountpoint
+	;;
+esac

Property changes on: update.d/efi_visuals
___________________________________________________________________
Name: svn:executable
   + *

Index: update.d/_numbers
===================================================================
--- update.d/_numbers	(revision 21963)
+++ update.d/_numbers	(working copy)
@@ -1 +1,2 @@
-60 efi_sync_flag
+21 efi_sync_flag
+60 efi_visuals

Reply to: