summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-02-14 12:53:37 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-02-14 12:53:37 +0000
commit12e14d934cfea071704250d7ed160da540f342d3 (patch)
treeeba76f69af32cf46a1bd1c01af0c139954b06385
parent34ee9d7a4528ac87efc76fea4d1879d5ce2bb16d (diff)
downloaddrakx-backup-do-not-use-12e14d934cfea071704250d7ed160da540f342d3.tar
drakx-backup-do-not-use-12e14d934cfea071704250d7ed160da540f342d3.tar.gz
drakx-backup-do-not-use-12e14d934cfea071704250d7ed160da540f342d3.tar.bz2
drakx-backup-do-not-use-12e14d934cfea071704250d7ed160da540f342d3.tar.xz
drakx-backup-do-not-use-12e14d934cfea071704250d7ed160da540f342d3.zip
now use blkid
-rwxr-xr-xperl-install/standalone/bootloader-config2
1 files changed, 1 insertions, 1 deletions
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;