diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-07-26 17:10:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-07-26 17:10:57 +0000 |
commit | 1fdd616cfbaa9100337cf6835610940e6ec688b9 (patch) | |
tree | af892511e95667280f948a6bf1cde507f4f7b9c4 /make_boot_img | |
parent | f29e7b36a00773a7cf7a06cfb6681dc2609a6d56 (diff) | |
download | drakx-backup-do-not-use-1fdd616cfbaa9100337cf6835610940e6ec688b9.tar drakx-backup-do-not-use-1fdd616cfbaa9100337cf6835610940e6ec688b9.tar.gz drakx-backup-do-not-use-1fdd616cfbaa9100337cf6835610940e6ec688b9.tar.bz2 drakx-backup-do-not-use-1fdd616cfbaa9100337cf6835610940e6ec688b9.tar.xz drakx-backup-do-not-use-1fdd616cfbaa9100337cf6835610940e6ec688b9.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make_boot_img b/make_boot_img index 61013cc2b..f4ddb756f 100755 --- a/make_boot_img +++ b/make_boot_img @@ -63,7 +63,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" if $ltype ne "blank"; + _ "$sudo cp -f modules$I/${ltype}_modules.cgz $mnt/modules/modules$I.cgz" if $type !~ /blank/; _ "$sudo cp -f modules$I/modules.dep $mnt/modules/"; _ "$sudo umount $mnt"; @@ -85,7 +85,7 @@ sub boot_img_i386 { _ "bunzip2 -c $instdir/installinit/msgboot-graphicallogo.img.bz2 > $img"; } _ "$sudo mount -t msdos -o umask=0 $img $mnt -o loop"; - _ "cat vmlinuz > $mnt/vmlinuz"; + _ "cat vmlinuz > $mnt/vmlinuz" if $type !~ /blank/; -f "$type.rdz" ? _ "cp -f $type.rdz $mnt" : initrd("${mnt}2", "$mnt/$type.rdz"); my $timeout = 72; @@ -259,7 +259,7 @@ To Build a Bootable CD-ROM, try: _ "rm -rf $dir"; _ "mkdir -p $dir"; _ "cp -f /boot/fd.b /boot/second.b $dir"; - _ "cp -f vmlinuz$I $dir/vmlinux$I.gz"; + _ "cp -f vmlinuz$I $dir/vmlinux$I.gz" if $type !~ /blank/; -f "$type.rdz" ? _ "cp -f $type.rdz $dir" : initrd("${mnt}2", "$dir/$type.rdz"); output("$dir/boot.msg", " |