diff options
author | Oliver Tappe | 2007-03-11 21:07:50 +0100 |
---|---|---|
committer | Oliver Tappe | 2007-03-11 21:07:50 +0100 |
commit | 0a82f9032ba112e373a390fb9e6b472fb65c157d (patch) | |
tree | 7b4f44cf1a8a296fec06a5afc191933579e9d393 | |
parent | * added new script slxconfig, which can be used to add systems and clients to... (diff) | |
download | core-0a82f9032ba112e373a390fb9e6b472fb65c157d.tar.gz core-0a82f9032ba112e373a390fb9e6b472fb65c157d.tar.xz core-0a82f9032ba112e373a390fb9e6b472fb65c157d.zip |
* fixed bug in busybox mode which left out the required libraries. The fix isn't
correct as it copies the libraries from the host system, not from the target,
but we ignore that as slxmkramfs will be reimplemented in perl, soon.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@750 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-x | initramfs/slxmkramfs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/initramfs/slxmkramfs b/initramfs/slxmkramfs index c3d1ec74..4c79a944 100755 --- a/initramfs/slxmkramfs +++ b/initramfs/slxmkramfs @@ -435,6 +435,8 @@ fi if [ -n "$use_busybox" ] ; then # somehow the target platform should be defined and proper busybox copied cp ${SLX_SHARE_PATH}/busybox/busybox ${INSTDIR}/bin + echo "${ROOTDIR}/lib/libc.so.6" >>${INSTDIR}/tmp/libraries + echo "${ROOTDIR}/lib/ld-linux.so.2" >>${INSTDIR}/tmp/libraries for bbins in [ ar arping ash bunzip2 cat chmod chown chroot cp cpio cut \ date dd df dmesg du echo env expr fdisk free grep gunzip hwclock \ insmod id ip kill killall ln ls lsmod mdev mkdir mke2fs mkfs.ext2 \ @@ -552,7 +554,7 @@ done for lib in $(fgrep -v /lib64/ ${INSTDIR}/tmp/libraries 2>/dev/null|sort -u); do cp ${lib} ${INSTDIR}/lib done -rm ${INSTDIR}/tmp/libraries +rm -f ${INSTDIR}/tmp/libraries # add kernel modules and dependency files if [ -z "$KERNVER" ] ; then @@ -644,7 +646,7 @@ for module in af_packet unix ${NWMODULES} ${FSMODULES} ${MISCMODULES} \ # iscsi modules # cobi cobi iscsiadm iscsid bin &>/dev/null #mkdir -p ${ddirprefix}/drivers/scsi - #for i in scsi_mod scsi_transport_iscsi libiscsi iscsi_tcp; do + #for i in scsi_mod scsi_transport_iscsi libiscsi iscsi_tcp; do # cp ${rdirprefix}/drivers/scsi/$i.ko # ${ddirprefix}/drivers/scsi #done |