summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-22 11:10:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-22 11:10:06 +0000
commitebfa88d7e72cfc3185809b40f2ce38f891672a88 (patch)
treeedc7e1a480e6cea27860d0845addd07ae466429a /perl-install
parent16229aba0dc2cbbc6e9e7e5f9f9dd874779f3442 (diff)
downloaddrakx-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar
drakx-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar.gz
drakx-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar.bz2
drakx-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar.xz
drakx-ebfa88d7e72cfc3185809b40f2ce38f891672a88.zip
handle missing mbr_signature in /sys/firmware/edd/int13_dev*
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/partition_table/raw.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm
index c3bc9dcce..06bdf8378 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -142,7 +142,7 @@ sub get_geometries {
} @hds);
- my %id2edd = keep_non_duplicates(map { [ chomp_(cat_("$_/mbr_signature")), $_ ] } glob("/sys/firmware/edd/int13_dev*"));
+ my %id2edd = keep_non_duplicates(map { [ chomp_(scalar cat_("$_/mbr_signature")), $_ ] } glob("/sys/firmware/edd/int13_dev*"));
log::l("id2hd: " . join(' ', map_each { "$::a=>$::b->{device}" } %id2hd));
log::l("id2edd: " . join(' ', map_each { "$::a=>$::b" } %id2edd));