Only reread partition table of specific loop device.
Bug with fake raid devices
This commit is contained in:
parent
d90130728e
commit
3f41a3da68
1 changed files with 1 additions and 1 deletions
2
build.sh
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue