diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-06-06 10:44:48 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-06-06 10:44:48 +0200 |
commit | 9e602c73415f40b86e8ee7561940b8ee7cb5c1e6 (patch) | |
tree | b9e8c75c99a7de9a6e9e0c369893102e0fb9bdc9 /perl-install/bootloader.pm | |
parent | 6a805889e8d177cee40a4b435195eb56233aa87a (diff) | |
download | drakx-9e602c73415f40b86e8ee7561940b8ee7cb5c1e6.tar drakx-9e602c73415f40b86e8ee7561940b8ee7cb5c1e6.tar.gz drakx-9e602c73415f40b86e8ee7561940b8ee7cb5c1e6.tar.bz2 drakx-9e602c73415f40b86e8ee7561940b8ee7cb5c1e6.tar.xz drakx-9e602c73415f40b86e8ee7561940b8ee7cb5c1e6.zip |
fix reading back last grub2 entry
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 483f67d1c..b6f9fcff1 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -318,6 +318,8 @@ sub read_grub2() { $entry->{initrd} = $1; } } + # last entry: + push @{$bootloader{entries}}, $entry if $entry; # get default entry: foreach (run_program::rooted_get_stdout($::prefix, qw(grub2-editenv list))) { |