diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-06-07 22:22:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-06-07 22:22:08 +0000 |
commit | ed721d84609cb863c236c9e7bd087aa6a362df3b (patch) | |
tree | 9b8be32ee086e82e574ecf502f16dc6c3483504b /make_boot_img | |
parent | 03396877116a0728d02b4f48861121e73e38a368 (diff) | |
download | drakx-backup-do-not-use-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar drakx-backup-do-not-use-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar.gz drakx-backup-do-not-use-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar.bz2 drakx-backup-do-not-use-ed721d84609cb863c236c9e7bd087aa6a362df3b.tar.xz drakx-backup-do-not-use-ed721d84609cb863c236c9e7bd087aa6a362df3b.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 5 |
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"; |