From: hackbard Date: Sun, 4 Jan 2015 22:22:34 +0000 (+0100) Subject: forgot hf in conf and rearranmged fs creation and mouint ... X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbde171cfaeeae3dd3be1fc6abadabad0959d4c3;p=outofuni%2Fdib.git forgot hf in conf and rearranmged fs creation and mouint ... --- diff --git a/build.sh b/build.sh index 3446087..7b7e2ed 100755 --- 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 diff --git a/config.build b/config.build index edb6257..e11c55b 100644 --- a/config.build +++ b/config.build @@ -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-"