diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-15 18:29:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-15 18:29:25 +0000 |
commit | 4747676f06629f79c8b785267f9940e508bf05f4 (patch) | |
tree | 365062815560bce0ba916c9b09740e61bf5de166 /tools | |
parent | e9a3d4604f39dd3861cb7bfe7d7bf34587decb9a (diff) | |
download | drakx-backup-do-not-use-4747676f06629f79c8b785267f9940e508bf05f4.tar drakx-backup-do-not-use-4747676f06629f79c8b785267f9940e508bf05f4.tar.gz drakx-backup-do-not-use-4747676f06629f79c8b785267f9940e508bf05f4.tar.bz2 drakx-backup-do-not-use-4747676f06629f79c8b785267f9940e508bf05f4.tar.xz drakx-backup-do-not-use-4747676f06629f79c8b785267f9940e508bf05f4.zip |
avoid storage specific stuff in bootloader preparation
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/draklive | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tools/draklive b/tools/draklive index d14ee6c50..6a2a670fb 100755 --- a/tools/draklive +++ b/tools/draklive @@ -471,14 +471,7 @@ sub prepare_bootloader { cp_f($live->{system}{root} . '/boot/vmlinuz-' . $live->{system}{kernel}, $live->{boot_dir} . '/vmlinuz'); my $msg = $live->{system}{root} . '/boot/message-graphic'; cp_f($msg, $live->{boot_dir} . '/live.msg') if -f $msg; - if ($live->{media}{storage} eq 'usb') { - output($live->{boot_dir} . '/syslinux.cfg', build_syslinux_cfg($live)); - } elsif ($live->{media}{storage} eq 'cdrom') { - cp_f('/usr/lib/syslinux/isolinux-graphic.bin', $live->{boot_dir} . '/isolinux.bin'); - output($live->{boot_dir} . '/isolinux.cfg', build_syslinux_cfg($live)); - } else { - warn "not implemented yet"; - } + output($live->{boot_dir} . '/syslinux.cfg', build_syslinux_cfg($live)); } sub create_master { |