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

Bug#491376: marked as done (recipe for BIOS-based boot on gpt)



Your message dated Mon, 07 Sep 2009 13:02:07 +0000
with message-id <E1MkdrD-0001RC-NM@ries.debian.org>
and subject line Bug#491376: fixed in partman-auto 89
has caused the Debian Bug report #491376,
regarding recipe for BIOS-based boot on gpt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
491376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491376
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-auto
Version: 79
Severity: wishlist
Tags: patch

Hi,

This patch adds a recipe for creating a BIOS boot partition when installing
on GPT.  Note the amd64 directory is not included with the patch, as I would
suggest just using a symlink for that (or otherwise copying it).

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Index: recipes-i386/home
===================================================================
--- recipes-i386/home	(revision 54293)
+++ recipes-i386/home	(working copy)
@@ -1,5 +1,10 @@
 partman-auto/text/home_scheme ::
 
+1 1 1 free
+	$gptonly{ }
+	$primary{ }
+	$bios_boot{ } .
+
 128 512 256 ext2
 	$defaultignore{ }
 	$primary{ }
Index: recipes-i386/multi
===================================================================
--- recipes-i386/multi	(revision 54293)
+++ recipes-i386/multi	(working copy)
@@ -1,5 +1,10 @@
 partman-auto/text/multi_scheme ::
 
+1 1 1 free
+	$gptonly{ }
+	$primary{ }
+	$bios_boot{ } .
+
 128 512 256 ext2
 	$defaultignore{ }
 	$primary{ }
Index: recipes-i386/atomic
===================================================================
--- recipes-i386/atomic	(revision 54293)
+++ recipes-i386/atomic	(working copy)
@@ -1,5 +1,10 @@
 partman-auto/text/atomic_scheme ::
 
+1 1 1 free
+	$gptonly{ }
+	$primary{ }
+	$bios_boot{ } .
+
 128 512 256 ext2
 	$defaultignore{ }
 	$primary{ }
Index: lib/recipes.sh
===================================================================
--- lib/recipes.sh	(revision 54293)
+++ lib/recipes.sh	(working copy)
@@ -90,9 +90,16 @@
 			shift; shift; shift; shift
 			line="$min $factor $max $fs $*"
 
+			open_dialog GET_LABEL_TYPE
+			read_line label_type
+			close_dialog
+
 			# Exclude partitions that have ...ignore set
 			if [ "$ignore" ] && [ "$(echo $line | grep "$ignore")" ]; then
 				:
+			# Exclude partitions that have gptonly set (except on GPT labels)
+			elif [ "$label_type" != "gpt" ] && [ "$label_type" != "unknown" ] && [ "$(echo $line | grep "gptonly")" ]; then
+				:
 			else
 				scheme="${scheme:+$scheme$NL}$line"
 			fi
@@ -201,6 +208,19 @@
 			write_line NO_MORE
 			close_dialog
 			;;
+		    \$bios_boot{)
+			while [ "$1" != '}' ] && [ "$1" ]; do
+				shift
+			done
+			open_dialog GET_FLAGS $id
+			flags=$(read_paragraph)
+			close_dialog
+			open_dialog SET_FLAGS $id
+			write_line "$flags"
+			write_line bios_grub
+			write_line NO_MORE
+			close_dialog
+			;;
 		    \$*{)
 			while [ "$1" != '}' ] && [ "$1" ]; do
 				shift

--- End Message ---
--- Begin Message ---
Source: partman-auto
Source-Version: 89

We believe that the bug you reported is fixed in the latest version of
partman-auto, which is due to be installed in the Debian FTP archive:

partman-auto_89.dsc
  to pool/main/p/partman-auto/partman-auto_89.dsc
partman-auto_89.tar.gz
  to pool/main/p/partman-auto/partman-auto_89.tar.gz
partman-auto_89_i386.udeb
  to pool/main/p/partman-auto/partman-auto_89_i386.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 491376@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated partman-auto package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 07 Sep 2009 12:09:20 +0100
Source: partman-auto
Binary: partman-auto
Architecture: source i386
Version: 89
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 partman-auto - Automatically partition storage devices (partman) (udeb)
Closes: 491376
Changes: 
 partman-auto (89) unstable; urgency=low
 .
   * Upgrade to debhelper v7.
   * Add a biosgrub partition to default recipes, used only if the disk label
     is GPT (closes: #491376). Requires partman-partitioning 71. Thanks to
     Otavio Salvador for reviewing this.
 .
   [ Updated translations ]
   * Korean (ko.po) by Changwoo Ryu
   * Russian (ru.po) by Yuri Kozlov
Checksums-Sha1: 
 6f57b05aadf4429e9b460ee389f9424a797bb23c 946 partman-auto_89.dsc
 10a2bd6f5685441ceaf3f83ee1a1a709ef495ca3 107715 partman-auto_89.tar.gz
 35ee20ebfb42844e228927915df802e3195e7ed5 75370 partman-auto_89_i386.udeb
Checksums-Sha256: 
 63ede5b4333aaf5935accce02d2effa3c3319653e01f02dde4f1438386932c84 946 partman-auto_89.dsc
 ac665bc12e217bf3486da746660e8cf8523bd224faf2058e02586212dfd21b24 107715 partman-auto_89.tar.gz
 fe562333a9c5909ebea26b4b21c2f260fc73d2aaeeb36e37f5a3f2a11ce9b1c6 75370 partman-auto_89_i386.udeb
Files: 
 e1e284b2afa070be42d6b811eca20eb9 946 debian-installer standard partman-auto_89.dsc
 f3116f88f6a490e34f3f2284f12ffb1a 107715 debian-installer standard partman-auto_89.tar.gz
 e0e744f5c7657b8ecb992ab61dc55237 75370 debian-installer standard partman-auto_89_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iD8DBQFKpP9h9t0zAhD6TNERAlEyAJ9Wkd35hzjEYCCqiImclhfp+N56UACeIjcN
2XFSd2UrVabuy4Ll7OIITys=
=KlSV
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: