1
0
mirror of https://github.com/rancher/os.git synced 2025-09-22 02:50:48 +00:00

build changes needed to allow rpi release to build

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-02-01 05:24:01 +00:00
parent ff448b0b96
commit 4e29df1b8a
5 changed files with 12 additions and 7 deletions

View File

@@ -29,6 +29,8 @@ fdisk -l build/run.img
ls -al build/run.img
# partition #1 - Type= c W95 FAT32 (LBA)
losetup
losetup -f
losetup -d /dev/loop0 || /bin/true
losetup --offset $BOOT_PARTITION_OFFSET --sizelimit $BOOT_PARTITION_BYTES /dev/loop0 build/run.img
mkfs.vfat -n RancherOS /dev/loop0