Bug#739006: [PATCH] Switch to using mkdosfs instead of libparted
---
commit.d/format_efi | 15 +++++++++++----
debian/changelog | 6 ++++++
debian/control | 2 +-
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/commit.d/format_efi b/commit.d/format_efi
index b93ba4b..abedec4 100755
--- a/commit.d/format_efi
+++ b/commit.d/format_efi
@@ -53,11 +53,18 @@ for dev in $DEVICES/*; do
db_subst $template TYPE "$RET"
db_subst $template PARTITION "$num"
db_subst $template DEVICE $(humandev $(cat device))
- name_progress_bar $template
- open_dialog CREATE_FILE_SYSTEM $id $new_efi_fs
- read_line status
- close_dialog
+ db_progress START 0 3 partman/text/formatting
+ db_progress INFO $template
+ db_progress SET 1
+
+ if log-output -t partman --pass-stdout \
+ mkfs.vfat -F ${new_efi_fs#fat} $device >/dev/null; then
+ status=OK
+ else
+ status=failed
+ fi
sync
+ db_progress STOP
if [ "$status" != OK ]; then
db_subst partman-basicfilesystems/create_failed TYPE efi
diff --git a/debian/changelog b/debian/changelog
index 2005268..edf0382 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+partman-efi (40) UNRELEASED; urgency=low
+
+ * Switch to using mkdosfs instead of libparted
+
+ -- Phillip Susi <psusi@ubuntu.com> Fri, 14 Feb 2014 15:44:22 -0500
+
partman-efi (39) unstable; urgency=low
[ Updated translations ]
diff --git a/debian/control b/debian/control
index 9700ef2..94c7965 100644
--- a/debian/control
+++ b/debian/control
@@ -10,5 +10,5 @@ Vcs-Git: git://anonscm.debian.org/d-i/partman-efi.git
Package: partman-efi
Package-Type: udeb
Architecture: i386 ia64 amd64
-Depends: partman-base (>= 114), efi-modules, ${misc:Depends}
+Depends: partman-base (>= 114), efi-modules, dosfstools-udeb, ${misc:Depends}
Description: Add to partman support for EFI boot partitions
--
1.8.3.2
Reply to: