diff options
Diffstat (limited to 'make_boot_img')
-rwxr-xr-x | make_boot_img | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/make_boot_img b/make_boot_img index 38736c399..39bfdcbdc 100755 --- a/make_boot_img +++ b/make_boot_img @@ -65,13 +65,10 @@ sub initrd { install_s("$instdir/$install", "$mnt/sbin/stage1"); 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"; -# } -# _ "$sudo cp -f install_${ftype}_modules/* $mnt/modules/" if -d "install_${ftype}_modules"; + if ($ftype eq "pcmcia") { + _ "$sudo cp -a /etc/pcmcia $mnt/etc"; + _ "$sudo patch -p0 -d $mnt/etc < $instdir/pcmcia_config.patch"; + } _ "$sudo cp -f modules$I/${ltype}_modules.mar $mnt/modules/modules$I.mar" if $type !~ /blank/; _ "$sudo cp -f modules$I/modules.dep $mnt/modules/"; _ "$sudo umount $mnt"; |