diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-10-18 00:35:38 +0300 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2012-10-18 00:40:50 +0300 |
commit | 4ed04f40736ed438bcd779fdd37a554b1ca01bbc (patch) | |
tree | 45383a99c2011be326bb360f0723cb8e2e0e7e69 | |
parent | ae68402e2278276b423c38107c850df244f38f62 (diff) | |
download | meta-raspberrypi-4ed04f40736ed438bcd779fdd37a554b1ca01bbc.tar.gz |
sdcard_image-rpi: Use the partition table as described in comments
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index b3c7c10..00d9cc4 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -73,7 +73,7 @@ IMAGE_CMD_rpi-sdimg () { | |||
73 | parted -s ${SDIMG} unit KiB mkpart primary fat32 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT}) | 73 | parted -s ${SDIMG} unit KiB mkpart primary fat32 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT}) |
74 | parted -s ${SDIMG} set 1 boot on | 74 | parted -s ${SDIMG} set 1 boot on |
75 | # Create rootfs partition | 75 | # Create rootfs partition |
76 | parted -s ${SDIMG} unit KiB mkpart primary ext2 $(expr ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT}) 100% | 76 | parted -s ${SDIMG} unit KiB mkpart primary ext2 $(expr ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT}) $(expr ${BOOT_SPACE_ALIGNED} \+ ${IMAGE_ROOTFS_ALIGNMENT} \+ ${ROOTFS_SIZE}) |
77 | parted ${SDIMG} print | 77 | parted ${SDIMG} print |
78 | 78 | ||
79 | # Create a vfat image with boot files | 79 | # Create a vfat image with boot files |