diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-24 23:33:40 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-24 23:33:40 +0000 |
commit | 3a0c5648e3c0a691e285a4ae1003cb6e06a19df1 (patch) | |
tree | f30320b72d576dfcdab1e48da2e44a910185ac87 /make_boot_img | |
parent | e723e8a329c96201c01e5f8b7621e462042bb9e3 (diff) | |
download | drakx-backup-do-not-use-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar drakx-backup-do-not-use-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar.gz drakx-backup-do-not-use-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar.bz2 drakx-backup-do-not-use-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.tar.xz drakx-backup-do-not-use-3a0c5648e3c0a691e285a4ae1003cb6e06a19df1.zip |
stage1: add pcmcia
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"; |