diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-10-14 16:39:30 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-10-14 16:39:30 +0000 |
commit | 8c9118f1b7794a5c75cfbde2146bb6070556aba2 (patch) | |
tree | 7701a9a49f7e0adb74a1fa95ef95c30b3a59a703 /perl-install/bootloader.pm | |
parent | f68735953294e98729fb8deefdbc02a0430720c2 (diff) | |
download | drakx-8c9118f1b7794a5c75cfbde2146bb6070556aba2.tar drakx-8c9118f1b7794a5c75cfbde2146bb6070556aba2.tar.gz drakx-8c9118f1b7794a5c75cfbde2146bb6070556aba2.tar.bz2 drakx-8c9118f1b7794a5c75cfbde2146bb6070556aba2.tar.xz drakx-8c9118f1b7794a5c75cfbde2146bb6070556aba2.zip |
do not link /boot/vmlinuz to xen while allowing a unversioned /boot/vmlinuz-xen
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c07fa6dc2..83a9bada1 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -722,6 +722,9 @@ sub add_kernel { $b_nolink ||= $kernel_str->{use_long_name}; + #- do not link /boot/vmlinuz to xen + $b_nolink ||= $v->{xen}; + my $vmlinuz_long = kernel_str2vmlinuz_long($kernel_str); my $initrd_long = kernel_str2initrd_long($kernel_str); $v->{kernel_or_dev} = "/boot/$vmlinuz_long"; |