]> hackdaworld.org Git - outofuni/dib.git/commitdiff
forgot hf in conf and rearranmged fs creation and mouint ...
authorhackbard <hackbard@hackdaworld.org>
Sun, 4 Jan 2015 22:22:34 +0000 (23:22 +0100)
committerhackbard <hackbard@hackdaworld.org>
Sun, 4 Jan 2015 22:22:34 +0000 (23:22 +0100)
build.sh
config.build

index 34460874fd8be8c1eff9b022dc2e23fc42720cec..7b7e2ed3a6aef12df4f85f01e96729ebcb61947c 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -54,9 +54,9 @@ function build_all {
                if [ "$validimg" = "no" ]; then
                        dd if=/dev/zero of=./rootfs.img bs=1M count=$IMGSIZE
                fi
-               mkfs.${ROOTFS} -f -L rootfs ./rootfs.img
-               # mount
+               # make fs and mount
                umount_if_mounted rootfs.mnt
+               mkfs.${ROOTFS} -f -L rootfs ./rootfs.img
                rm -rf rootfs.mnt
                mkdir rootfs.mnt
                mount -o loop ./rootfs.img ./rootfs.mnt
index edb62577efae8a8fbe5e3f96abe3708992b5ec38..e11c55bd9190fe40e192674c91d1d79e125404cb 100644 (file)
@@ -9,7 +9,7 @@ IMGSIZE=2000
 #
 # target architecture / suite
 #
-ARCH=arm
+ARCH=armhf
 #ARCH=armel
 MAKEOPT="ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-"
 #MAKEOPT="ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-"