summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-10-29 19:45:28 +0000
committerOlivier Blin <oblin@mandriva.com>2009-10-29 19:45:28 +0000
commit27b2a332fbe3ed28dedec35e3980a1e966e641ee (patch)
tree288ec0ebd1fa5ab2e0d68b82a24610e47399054e /lib/MDV
parent321e4931719f59f3f84fabfe7275adf73f0b0112 (diff)
downloaddrakiso-27b2a332fbe3ed28dedec35e3980a1e966e641ee.tar
drakiso-27b2a332fbe3ed28dedec35e3980a1e966e641ee.tar.gz
drakiso-27b2a332fbe3ed28dedec35e3980a1e966e641ee.tar.bz2
drakiso-27b2a332fbe3ed28dedec35e3980a1e966e641ee.tar.xz
drakiso-27b2a332fbe3ed28dedec35e3980a1e966e641ee.zip
do not add default boot entry in syslinux if media boot_entries is defined
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Draklive/Media.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm
index 9f071d0..c891ef0 100644
--- a/lib/MDV/Draklive/Media.pm
+++ b/lib/MDV/Draklive/Media.pm
@@ -20,6 +20,8 @@ sub new {
}
}
+ $media->{boot_entries} ||= [ '' => '' ];
+
$media;
}