summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-07 22:22:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-07 22:22:08 +0000
commited721d84609cb863c236c9e7bd087aa6a362df3b (patch)
tree9b8be32ee086e82e574ecf502f16dc6c3483504b /make_boot_img
parent03396877116a0728d02b4f48861121e73e38a368 (diff)
downloaddrakx-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar
drakx-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar.gz
drakx-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar.bz2
drakx-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar.xz
drakx-ed721d84609cb863c236c9e7bd087aa6a362df3b.zip
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img5
1 files changed, 3 insertions, 2 deletions
diff --git a/make_boot_img b/make_boot_img
index 601c70992..2eb091fa7 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-@ARGV >= 2 or die "usage: $0 <image> cdrom|hd|network|network_ks|pcmcia|live|tftp|tftprd\n";
+@ARGV >= 2 or die "usage: $0 <image> cdrom|hd|network|blank|network_ks|pcmcia|live|tftp|tftprd\n";
use Config;
Config->import;
@@ -26,6 +26,7 @@ _ "$sudo mkdir $mnt" unless -e $mnt;
_ "$sudo mkdir ${mnt}2" unless -e "${mnt}2";
$install = $ {{
+ blank => "full-install",
live => "full-install",
tftp => "full-install",
tftprd => "full-install",
@@ -63,7 +64,7 @@ sub initrd {
install_s("$instdir/$install", "$mnt/sbin/install");
_ "$sudo cp -f install_${type}_modules/* $mnt/modules/" if -d "install_${type}_modules";
- _ "$sudo cp -f modules$I/${ltype}_modules.cgz $mnt/modules/modules$I.cgz";
+ _ "$sudo cp -f modules$I/${ltype}_modules.cgz $mnt/modules/modules$I.cgz" if $ltype ne "blank";
_ "$sudo cp -f modules$I/modules.dep $mnt/modules/";
_ "$sudo umount $mnt";