summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-19 13:20:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-19 13:20:57 +0000
commit969469b7c94f420adda2705769f44fe0c3abd47e (patch)
tree33742c40755b8f436cc600e588e9640cdbe46456 /make_boot_img
parenteeb988a2c499ba48ae280454a7b305ab028a4c9e (diff)
downloaddrakx-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-xmake_boot_img7
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";