summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-06-02 08:36:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-06-02 08:36:45 +0000
commitca518976a35c196d12952034c6b6ec0397598bad (patch)
tree1bfeac735dec5576c4f2f79b0e01b7a994857b39 /perl-install/any.pm
parentc129c08846c47f77f5c64ea8deb28f73d4097be3 (diff)
downloaddrakx-ca518976a35c196d12952034c6b6ec0397598bad.tar
drakx-ca518976a35c196d12952034c6b6ec0397598bad.tar.gz
drakx-ca518976a35c196d12952034c6b6ec0397598bad.tar.bz2
drakx-ca518976a35c196d12952034c6b6ec0397598bad.tar.xz
drakx-ca518976a35c196d12952034c6b6ec0397598bad.zip
- use UUID for resume= kernel parameter
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 9f80c7f23..1d50f6a84 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -171,7 +171,7 @@ sub setupBootloaderBefore {
if (my ($biggest_swap) = sort { $b->{size} <=> $a->{size} } grep { isSwap($_) } @$fstab) {
log::l("MemTotal: $MemTotal < ", $biggest_swap->{size} / 2);
if ($MemTotal < $biggest_swap->{size} / 2) {
- bootloader::set_append_with_key($bootloader, resume => devices::make($biggest_swap->{device}));
+ bootloader::set_append_with_key($bootloader, resume => fs::wild_device::from_part('', $biggest_swap));
}
}
}