diff options
author | Erik Troan <ewt@redhat.com> | 2000-05-09 21:15:22 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-05-09 21:15:22 +0000 |
commit | 2c93c0ee314a5328d6c3f96d8bedbd43a1b4aef0 (patch) | |
tree | 0776f5bef460c9a86b5f953082a70d1f1383c002 /scripts | |
parent | e08ea108408e0ea3906acd26b8b1d1df44605243 (diff) | |
download | anaconda-2c93c0ee314a5328d6c3f96d8bedbd43a1b4aef0.tar.gz anaconda-2c93c0ee314a5328d6c3f96d8bedbd43a1b4aef0.tar.xz anaconda-2c93c0ee314a5328d6c3f96d8bedbd43a1b4aef0.zip |
handle pcmcia config files better
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 613a25e7b..c7884f5e3 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -277,6 +277,12 @@ EOF install -m 644 $LANGTABLE $LOADERBINDIR/loader.tr $MBD_DIR/etc install -m 644 /usr/share/terminfo/l/linux $MBD_DIR/etc/terminfo/l/linux + if [ -n "$PCMCIA" ]; then + mkdir -p $MBD_BOOTTREE/etc + cp -a $KERNELROOT/etc/pcmcia $MBD_DIR/etc + fi + + for n in insmod rmmod modprobe; do ln -s loader $MBD_DIR/sbin/$n done @@ -368,11 +374,6 @@ EOF exit 1 fi - if [ -n "$PCMCIA" ]; then - mkdir -p $MBD_BOOTTREE/etc - cp -a $KERNELROOT/etc/pcmcia $MBD_BOOTTREE/etc - fi - if [ -n "$EXTRAKERNELPATH" ]; then mkdir -p $EXTRAKERNELPATH cp -a $KERNELROOT/boot/vmlinuz-* $EXTRAKERNELPATH/vmlinuz |