diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-11-18 16:58:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-11-18 16:58:45 +0000 |
commit | 8e7c1b05ec764ca1160b8bfc795568ba9dbbac2e (patch) | |
tree | 217d278c7124495cdeec2749abd44fc3b9f4bfd0 | |
parent | f33ed04ff3350746eef91272a765d6eae4b8f480 (diff) | |
download | drakx-backup-do-not-use-8e7c1b05ec764ca1160b8bfc795568ba9dbbac2e.tar drakx-backup-do-not-use-8e7c1b05ec764ca1160b8bfc795568ba9dbbac2e.tar.gz drakx-backup-do-not-use-8e7c1b05ec764ca1160b8bfc795568ba9dbbac2e.tar.bz2 drakx-backup-do-not-use-8e7c1b05ec764ca1160b8bfc795568ba9dbbac2e.tar.xz drakx-backup-do-not-use-8e7c1b05ec764ca1160b8bfc795568ba9dbbac2e.zip |
bootloader-config: fix migrating swap to UUID
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/bootloader-config | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 863c5d363..78976db6d 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- bootloader-config: + o fix migrating swap to UUID - diskdrake: o fix handling hdX/sdX devices (#53107) - display_help: diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index 35c117983..1eea36be8 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -317,7 +317,7 @@ sub _should_prefer_UUID { sub _add_uuid_to_swap { my ($part) = @_; - my $ids = fs::type::call_vol_id($part); + my $ids = fs::type::call_blkid($part); $ids->{ID_FS_VERSION} eq '2' or log::l("ERROR: do not know swap version $ids->{ID_FS_VERSION}, so can not add UUID to it"), return; |