summaryrefslogtreecommitdiffstats
path: root/initramfs/mkdxsinitrd
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-28 14:08:04 +0200
committerDirk von Suchodoletz2007-04-28 14:08:04 +0200
commit3a78497ede52f7604bcc16a863e7392023dfefa5 (patch)
treec3938b0a90a2559c4f1a5480959d1b5ec7c25c43 /initramfs/mkdxsinitrd
parentMajor changes for stage3/initramfs: busybox is made the main tool ... (diff)
downloadcore-3a78497ede52f7604bcc16a863e7392023dfefa5.tar.gz
core-3a78497ede52f7604bcc16a863e7392023dfefa5.tar.xz
core-3a78497ede52f7604bcc16a863e7392023dfefa5.zip
Solution for ext2 formatter ... (see ticket #117 too)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@937 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/mkdxsinitrd')
-rwxr-xr-xinitramfs/mkdxsinitrd9
1 files changed, 7 insertions, 2 deletions
diff --git a/initramfs/mkdxsinitrd b/initramfs/mkdxsinitrd
index 5eff4ba7..a44222fa 100755
--- a/initramfs/mkdxsinitrd
+++ b/initramfs/mkdxsinitrd
@@ -480,11 +480,12 @@ fi
# copy the proper busybox depending on architecture (i586 for 32bit and
# x86_64 for 64bit)
+# fixme: At the moment the busybox does not support ext2 filesystem tools
cp ${SLX_SHARE_PATH}/busybox/busybox.${ARCH} ${INSTDIR}/bin/busybox
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 \
- mkfs.ext3 mknod mkswap modprobe mount mv nice ping printf ps rdate \
+ insmod id ip kill killall ln ls lsmod mdev mkdir \
+ mknod mkswap modprobe mount mv nice ping printf ps rdate \
rm rmmod sed sleep sort swapoff swapon switch_root tar test tftp \
time touch tr udhcpc umount uptime usleep vconfig vi zcat zcip; do
ln -fs /bin/busybox ${INSTDIR}/bin/$bbins
@@ -492,6 +493,10 @@ done
# fake the sh link in busybox environment
echo -e "#!/bin/ash\n/bin/ash \$@" > ${INSTDIR}/bin/sh
chmod a+x ${INSTDIR}/bin/sh
+
+# fixme: add ext2 stuff until busybox offers these tools again
+cobi mkfs.ext2 bin
+
# binaries useful for debugging purposes
if [ $IRFSDEBUG -gt 2 ] ; then
for bbins in \