summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-01-24 23:33:40 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-01-24 23:33:40 +0000
commit3a0c5648e3c0a691e285a4ae1003cb6e06a19df1 (patch)
treef30320b72d576dfcdab1e48da2e44a910185ac87 /make_boot_img
parente723e8a329c96201c01e5f8b7621e462042bb9e3 (diff)
downloaddrakx-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar
drakx-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar.gz
drakx-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar.bz2
drakx-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar.xz
drakx-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.zip
stage1: add pcmcia
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img11
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";