summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-05-21 13:05:15 +0000
committerOlivier Blin <oblin@mandriva.com>2007-05-21 13:05:15 +0000
commit74db708e23356b5c205c8cd38639fcbbfa58c4a6 (patch)
treeb1460d387aceefcba5533cb5026b517e64488137
parent467a6ed46a01981398ebe777a463ec82483c5911 (diff)
downloaddraklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar
draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar.gz
draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar.bz2
draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.tar.xz
draklive-74db708e23356b5c205c8cd38639fcbbfa58c4a6.zip
remove extra media support
-rwxr-xr-xdraklive9
1 files changed, 2 insertions, 7 deletions
diff --git a/draklive b/draklive
index 6ab334c..c0d2182 100755
--- a/draklive
+++ b/draklive
@@ -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}
};