ntfs-3g support

This commit is contained in:
Tomas M
2012-09-21 08:08:09 -05:00
parent 73bb56a76e
commit 3cc0f47ede
8 changed files with 35 additions and 23 deletions
+5 -4
View File
@@ -35,13 +35,14 @@ copy_including_deps()
rm -Rf $INITRAMFS
mkdir -p $INITRAMFS/{bin,dev,etc,lib,lib64,mnt,proc,root,run,sbin,sys,tmp,usr,var/log}
rm busybox/busybox
cd busybox
cd static
./update
cd ..
cp busybox/busybox $INITRAMFS/bin
busybox/busybox | grep , | grep -v Copyright | tr "," " " | while read LINE; do
cp static/{busybox,mount.ntfs-3g} $INITRAMFS/bin
chmod a+x $INITRAMFS/bin/{busybox,mount.ntfs-3g}
$INITRAMFS/bin/busybox | grep , | grep -v Copyright | tr "," " " | while read LINE; do
for TOOL in $LINE; do
ln -s busybox $INITRAMFS/bin/$TOOL
ln -s ../bin/busybox $INITRAMFS/sbin/$TOOL