diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-11-22 14:00:42 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-11-22 14:00:42 +0000 |
commit | 0d61c6c559469cf4df58b0f59a78172c72afe878 (patch) | |
tree | 19ef1fed1c5f2a6d04b9863aad7e84ba011731d1 /mkinitrd-draklive | |
parent | f43f615854cfdbf209cc673935e316b63deabdb6 (diff) | |
download | drakiso-0d61c6c559469cf4df58b0f59a78172c72afe878.tar drakiso-0d61c6c559469cf4df58b0f59a78172c72afe878.tar.gz drakiso-0d61c6c559469cf4df58b0f59a78172c72afe878.tar.bz2 drakiso-0d61c6c559469cf4df58b0f59a78172c72afe878.tar.xz drakiso-0d61c6c559469cf4df58b0f59a78172c72afe878.zip |
Remove obsolete code for generating old draklive-style initrds.
Move the remaining code in the Initrd module into draklive - it's
just a call to bootloader::add_kernel() and only gets used in one
place, so doesn't need wrapping.
Diffstat (limited to 'mkinitrd-draklive')
-rw-r--r-- | mkinitrd-draklive | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mkinitrd-draklive b/mkinitrd-draklive deleted file mode 100644 index f15d11c..0000000 --- a/mkinitrd-draklive +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/perl - -use lib qw(/usr/lib/libDrakX); - -use MDV::Draklive::Live; -use MDV::Draklive::Config; -use MDV::Draklive::Initrd; - -my ($initrd, $kernel) = @ARGV; -$initrd && $kernel or die "usage $0 <initrd> <kernel>\n"; - -my $live = 'MDV::Draklive::Live'->new; -MDV::Draklive::Config::read_config($live, - $MDV::Draklive::Config::default_config_root, - $MDV::Draklive::Config::default_config_path, - $MDV::Draklive::Config::default_settings_path); -MDV::Draklive::Config::check_config($live); -MDV::Draklive::Config::complete_config($live); - -MDV::Draklive::Initrd::create_media_specific_initrd($live, $live->{media}, "/", $initrd, $kernel); |