summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-04 12:44:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-04 12:44:59 +0000
commita8d9723bcb77c8009fc02c4d4174bbbd552a3c4a (patch)
tree6dd18803232ef7a214d9da11d5bcf7d524afd064 /perl-install/bootloader.pm
parente16b7ef775ee738edbb5dc9c674273789c2d49dd (diff)
downloaddrakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar
drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar.gz
drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar.bz2
drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.tar.xz
drakx-a8d9723bcb77c8009fc02c4d4174bbbd552a3c4a.zip
modify_append: do not modify entries which are marked {keep_verbatim} since
they will be written verbatim anyway
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index ade21a222..49a68ffa5 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -755,7 +755,7 @@ sub pack_append {
sub modify_append {
my ($b, $f) = @_;
- my @l = grep { $_->{type} eq 'image' && !($::isStandalone && $_->{label} eq 'failsafe') } @{$b->{entries}};
+ my @l = grep { $_->{type} eq 'image' && !$_->{keep_verbatim} && !($::isStandalone && $_->{label} eq 'failsafe') } @{$b->{entries}};
foreach (\$b->{perImageAppend}, map { \$_->{append} } @l) {
my ($simple, $dict) = unpack_append($$_);