diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-19 13:20:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-19 13:20:57 +0000 |
commit | 969469b7c94f420adda2705769f44fe0c3abd47e (patch) | |
tree | 33742c40755b8f436cc600e588e9640cdbe46456 /make_boot_img | |
parent | eeb988a2c499ba48ae280454a7b305ab028a4c9e (diff) | |
download | drakx-backup-do-not-use-969469b7c94f420adda2705769f44fe0c3abd47e.tar drakx-backup-do-not-use-969469b7c94f420adda2705769f44fe0c3abd47e.tar.gz drakx-backup-do-not-use-969469b7c94f420adda2705769f44fe0c3abd47e.tar.bz2 drakx-backup-do-not-use-969469b7c94f420adda2705769f44fe0c3abd47e.tar.xz drakx-backup-do-not-use-969469b7c94f420adda2705769f44fe0c3abd47e.zip |
no_comment
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/make_boot_img b/make_boot_img index 981c8c6fa..c57a931f3 100755 --- a/make_boot_img +++ b/make_boot_img @@ -63,13 +63,13 @@ sub initrd { install_s("$instdir/installinit/init", "$mnt/sbin"); install_s("$instdir/$install", "$mnt/sbin/install"); - if ($type eq "pcmcia") { + my $ftype = $type =~ /^(all)$/ ? "pcmcia" : $type; + if ($ftype eq "pcmcia") { unlink "$mnt/sbin/sh"; _ "$sudo cp -a tools/$arch/sh $mnt/sbin"; _ "$sudo cp -a /etc/pcmcia $mnt/etc"; _ "$sudo patch -p0 -d $mnt/etc < $instdir/pcmcia_config.patch"; } - my $ftype = $type =~ /^(all)$/ ? "pcmcia" : $type; _ "$sudo cp -f install_${ftype}_modules/* $mnt/modules/" if -d "install_${ftype}_modules"; _ "$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/"; @@ -137,6 +137,9 @@ label oem label auto kernel vmlinuz append ramdisk_size=32000 initrd=$type.rdz $ftype auto_install=auto_inst.cfg.pl +label all + kernel vmlinuz + append ramdisk_size=32000 initrd=$type.rdz vga=788 "); _ "sync"; _ "df $mnt"; |