summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive8
1 files changed, 6 insertions, 2 deletions
diff --git a/draklive b/draklive
index 2df2d28..929d164 100755
--- a/draklive
+++ b/draklive
@@ -539,9 +539,8 @@ sub remove_unneeded_bootlogo_locales {
return @kept_locales;
}
-sub create_media_bootloader {
+sub create_syslinux_msg_files {
my ($live) = @_;
- cp_f($live->get_system_root . '/boot/vmlinuz-' . $live->find_kernel, $live->get_builddir . $live->{prefix}{build}{boot} . '/vmlinuz');
my $syslinux_dir = $live->get_builddir . $live->{prefix}{build}{boot} . '/syslinux';
mkdir_p($syslinux_dir);
@@ -575,7 +574,12 @@ The command line can be used to specify kernel options.
$live->{media}{title} <kernel options>
));
+}
+sub create_media_bootloader {
+ my ($live) = @_;
+ cp_f($live->get_system_root . '/boot/vmlinuz-' . $live->find_kernel, $live->get_builddir . $live->{prefix}{build}{boot} . '/vmlinuz');
+ create_syslinux_msg_files($live);
foreach my $boot ('', @{$live->{media}{extra_boot}}) {
my $opts = { boot => $boot };
output($live->get_builddir . $live->{prefix}{build}{boot} . get_syslinux_path($live->{media}, $opts),