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

Bug#783977: partman-auto: should create efi partitions as fat32 rather than free



Package: partman-auto
Severity: normal
Tags: patch

Dear Maintainer,

It looks like partman-auto, in the recipe-amd64-efi recipes, uses "free"
rather than say, "fat32" as a partition type for the EFI partitions it tries
to create. This has the unfortunate side-effect of not letting partman-efi do
all that it may try to do, such as setting a name for the EFI partition (see
partman-efi's update.d/efi_sync_flag). This happens because decode_recipe
defaults to using 'ext2' to describe that partition, which doesn't match
partman-efi's checks.

A patch is attached.


-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
>From c717f8418513a268c708b496dccb80422a385eaf Mon Sep 17 00:00:00 2001
From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Date: Fri, 1 May 2015 14:58:24 -0400
Subject: [PATCH] Initially define efi partitions as fat32 for amd64/i386

---
 recipes-amd64-efi/atomic | 2 +-
 recipes-amd64-efi/home   | 2 +-
 recipes-amd64-efi/multi  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-amd64-efi/atomic b/recipes-amd64-efi/atomic
index 2e81c4f..2995fa2 100644
--- a/recipes-amd64-efi/atomic
+++ b/recipes-amd64-efi/atomic
@@ -1,6 +1,6 @@
 partman-auto/text/atomic_scheme ::
 
-538 538 1075 free
+538 538 1075 fat32
 	$iflabel{ gpt }
 	$reusemethod{ }
 	method{ efi }
diff --git a/recipes-amd64-efi/home b/recipes-amd64-efi/home
index ed12a51..77a49b3 100644
--- a/recipes-amd64-efi/home
+++ b/recipes-amd64-efi/home
@@ -1,6 +1,6 @@
 partman-auto/text/home_scheme ::
 
-538 538 1075 free
+538 538 1075 fat32
 	$iflabel{ gpt }
 	$reusemethod{ }
 	method{ efi }
diff --git a/recipes-amd64-efi/multi b/recipes-amd64-efi/multi
index 37e03d6..bb3ff08 100644
--- a/recipes-amd64-efi/multi
+++ b/recipes-amd64-efi/multi
@@ -1,6 +1,6 @@
 partman-auto/text/multi_scheme ::
 
-538 538 1075 free
+538 538 1075 fat32
 	$iflabel{ gpt }
 	$reusemethod{ }
 	method{ efi }
-- 
2.1.4


Reply to: