summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-05 11:34:00 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-05 11:34:00 +0000
commit67c66ff74765e81d7f84389d20ca6209ab7eb364 (patch)
tree0c34848a505ff45341715e69e482a11fdc105e30 /perl-install
parentc9fa0593c0ceae7eb95ef1cff9b433882c58bdd5 (diff)
downloaddrakx-backup-do-not-use-67c66ff74765e81d7f84389d20ca6209ab7eb364.tar
drakx-backup-do-not-use-67c66ff74765e81d7f84389d20ca6209ab7eb364.tar.gz
drakx-backup-do-not-use-67c66ff74765e81d7f84389d20ca6209ab7eb364.tar.bz2
drakx-backup-do-not-use-67c66ff74765e81d7f84389d20ca6209ab7eb364.tar.xz
drakx-backup-do-not-use-67c66ff74765e81d7f84389d20ca6209ab7eb364.zip
set entries type when reading back grub2 conf
thus fixing switching back to grub-legacy (mga#9563)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/bootloader.pm1
-rw-r--r--perl-install/install/NEWS2
3 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 8e51bd46b..324a87498 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,6 +1,8 @@
- drakboot:
o assume grub2.cfg is UTF-8 encoded
o read back xen conf from grub2
+ o set entries type when reading back grub2 conf, thus fixing
+ switching back to grub-legacy (mga#9563)
- draksound
o update draksound troubleshooting text (mga#4162)
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 461f94760..d8146905d 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -245,6 +245,7 @@ sub read_grub2 {
push @{$bootloader{entries}}, $entry if $entry;
$entry = { label => $1 };
} elsif (/linux\s+(\S+)\s+(.*)?/ || /module\s+(\S+vmlinu\S+)\s+(.*)?/) {
+ $entry->{type} = 'image';
@$entry{qw(kernel_or_dev append)} = ($1, $2);
} elsif (/initrd\s+(\S+)/ || /module\s+(\S+initrd\S+)\s+(.*)?/) {
$entry->{initrd} = $1;
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 9bc617927..572f8140d 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,8 @@
- drakboot:
o assume grub2.cfg is UTF-8 encoded
o read back xen conf from grub2
+ o set entries type when reading back grub2 conf, thus fixing
+ switching back to grub-legacy (mga#9563)
- fix finding translated help (mga#9619)
Version 15.34 - 4 April 2013