extend image size
This commit is contained in:
parent
3a697b7e9b
commit
9eed955691
1 changed files with 2 additions and 2 deletions
4
build.sh
4
build.sh
|
@ -116,8 +116,8 @@ make -j2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_HDR_PATH=output hea
|
|||
#--------------------------------------------------------------------------------
|
||||
echo "------ Creating SD Images"
|
||||
cd $DEST/output
|
||||
# create 1Gb image and mount image to next free loop device
|
||||
dd if=/dev/zero of=arch_rootfs.raw bs=1M count=1000
|
||||
# create 2Gb image and mount image to next free loop device
|
||||
dd if=/dev/zero of=arch_rootfs.raw bs=1M count=2000
|
||||
LOOP0=$(losetup -f)
|
||||
losetup $LOOP0 arch_rootfs.raw
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue