diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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), |