diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-05-21 13:05:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-05-21 13:05:15 +0000 |
commit | 74db708e23356b5c205c8cd38639fcbbfa58c4a6 (patch) | |
tree | b1460d387aceefcba5533cb5026b517e64488137 | |
parent | 467a6ed46a01981398ebe777a463ec82483c5911 (diff) | |
download | draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar.gz draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar.bz2 draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar.xz draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.zip |
remove extra media support
-rwxr-xr-x | draklive | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -340,7 +340,7 @@ sub find_kernel { sub create_initrd { my ($live) = @_; - foreach ($live->{media}, @{$live->{extra_media}}) { + foreach ($live->{media}) { create_initrd_for_media($live, $_); } cp_f(get_builddir($live) . $live->{prefix}{build}{boot} . get_initrd_path($live->{media}), @@ -904,7 +904,7 @@ $live->{media}{title} <kernel options> )); - foreach my $media ($live->{media}, @{$live->{extra_media}}) { + foreach my $media ($live->{media}) { foreach my $boot ('', @{$media->{extra_boot}}) { my $opts = { boot => $boot }; output(get_builddir($live) . $live->{prefix}{build}{boot} . get_syslinux_path($media, $opts), @@ -1564,11 +1564,6 @@ Here's a configuration sample: media => { storage => 'cdrom', }, - extra_media => [ - { - storage => 'usb', - }, - ], mount => $predefined{mounts}{squash_union} }; |