From 3f41a3da6844546f6b6c7f4d2b58fe27d462ccb6 Mon Sep 17 00:00:00 2001 From: ownedcore Date: Tue, 7 Jan 2014 20:27:30 +0100 Subject: [PATCH] Only reread partition table of specific loop device. Bug with fake raid devices --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7158438..9ccbadb 100644 --- a/build.sh +++ b/build.sh @@ -113,7 +113,7 @@ dd if=$DEST/u-boot-sunxi/u-boot-sunxi-with-spl.bin of=$LOOP0 bs=1024 seek=8 # create one partition starting at 2048 which is default (echo n; echo p; echo 1; echo; echo; echo w) | fdisk $LOOP0 >> /dev/null || true # just to make sure -partprobe +partprobe $LOOP0 LOOP1=$(losetup -f) # 2048 (start) x 512 (block size) = where to mount partition