diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-10-13 13:14:45 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-10-13 13:14:45 +0000 |
commit | 916a932f2a882245da60cd7682b7e981f1bc0499 (patch) | |
tree | 18dfc8efebfa9462db01d9e64ebf12d0c4706f92 | |
parent | 652d0bb64bbd6e3fd2fc8e02c190f99fa13d5c3c (diff) | |
download | draklive-916a932f2a882245da60cd7682b7e981f1bc0499.tar draklive-916a932f2a882245da60cd7682b7e981f1bc0499.tar.gz draklive-916a932f2a882245da60cd7682b7e981f1bc0499.tar.bz2 draklive-916a932f2a882245da60cd7682b7e981f1bc0499.tar.xz draklive-916a932f2a882245da60cd7682b7e981f1bc0499.zip |
extract create_syslinux_msg_files
-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), |