summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-12-15 18:29:25 +0000
committerOlivier Blin <oblin@mandriva.org>2005-12-15 18:29:25 +0000
commit4747676f06629f79c8b785267f9940e508bf05f4 (patch)
tree365062815560bce0ba916c9b09740e61bf5de166 /tools/draklive
parente9a3d4604f39dd3861cb7bfe7d7bf34587decb9a (diff)
downloaddrakx-4747676f06629f79c8b785267f9940e508bf05f4.tar
drakx-4747676f06629f79c8b785267f9940e508bf05f4.tar.gz
drakx-4747676f06629f79c8b785267f9940e508bf05f4.tar.bz2
drakx-4747676f06629f79c8b785267f9940e508bf05f4.tar.xz
drakx-4747676f06629f79c8b785267f9940e508bf05f4.zip
avoid storage specific stuff in bootloader preparation
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive9
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 {