From 7e87f7949a82c5bc19a6be5d6eff054bfbdff866 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 20 Mar 2013 18:15:12 +0000 Subject: actually preserve UUID when formatting (mga#9428) bug introduced in commit r252676 by pterjan on Tue Feb 10 2009: "fix preserving UUID owhen formatting ext* and swap, and handle more FS (#39913)" --- perl-install/NEWS | 2 ++ perl-install/fs/format.pm | 2 +- perl-install/install/NEWS | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index c3dbe1aa4..b57af50c1 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,6 +1,8 @@ - bootloader-config: o do not build initrd if no bootloader is detected and --no-initd argument is supplied +- diskdrake: + o actually preserve UUID when formatting (mga#9428) - drakauth: o install nss-pam-ldapd instead of nss_ldap (mga#9375) diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 8fee9d2bf..3b8c79563 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -195,7 +195,7 @@ sub part_raw { # Preserve UUID on fs where we couldn't enforce it while formatting (undef, $cmd) = @{$preserve_UUID{$fs_type}}; - run_program::raw($cmd, '-U', devices::make($dev)) if $cmd; + run_program::raw({}, $cmd, '-U', devices::make($dev)) if $cmd; if (member($fs_type, qw(ext3 ext4))) { disable_forced_fsck($dev); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 747783fa0..f0ca41b28 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,6 +1,8 @@ - do not disable module autoloading (mga#9428) - authentication: o install nss-pam-ldapd instead of nss_ldap (mga#9375) +- partitionning: + o actually preserve UUID when formatting (mga#9428) Version 15.27 - 12 March 2013 -- cgit v1.2.1