From 8444c690f84c08d013ab7c7cc9597e86b11dc26b Mon Sep 17 00:00:00 2001 From: fritsch Date: Fri, 24 May 2013 20:20:40 +0200 Subject: [PATCH] Fix boot after: 7916defc49dd985fc233808be744681c74d4d8b5 closes #2316 --- packages/initramfs/sysutils/busybox-initramfs/scripts/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/initramfs/sysutils/busybox-initramfs/scripts/init b/packages/initramfs/sysutils/busybox-initramfs/scripts/init index 77f25cbaab..8ffa06129f 100755 --- a/packages/initramfs/sysutils/busybox-initramfs/scripts/init +++ b/packages/initramfs/sysutils/busybox-initramfs/scripts/init @@ -413,7 +413,7 @@ echo "Creating empty file, this can take a long time..." /sysroot/bin/busybox dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null echo "Formating to EXT4 filesystem, this can take a long time..." - LD_LIBRARY_PATH=/sysroot/usr/lib /sysroot/usr/bin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null + LD_LIBRARY_PATH=/sysroot/usr/lib /sysroot/sbin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null /bin/busybox sync umount /sysroot else @@ -421,7 +421,7 @@ echo "Creating empty file, this can take a long time..." /flash/bin/busybox dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null echo "Formating to EXT4 filesystem, this can take a long time..." - LD_LIBRARY_PATH=/flash/usr/lib /flash/usr/bin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null + LD_LIBRARY_PATH=/flash/usr/lib /flash/sbin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null /bin/busybox sync fi