summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2013-05-02 08:46:58 +1000
committerAndrei Gherzan <andrei@gherzan.ro>2013-05-02 13:10:14 +0200
commitc5f81306b58e91f1c845da063c2476733cdb5bf5 (patch)
tree0ad34ee4d69109878d3b5b318e2bbb19aac6279d /recipes-devtools/python
parent8ad03b9533d6e0361a30a2795ffb90a4ce8db87e (diff)
downloadmeta-raspberrypi-c5f81306b58e91f1c845da063c2476733cdb5bf5.tar.gz
sdcard_image-rpi: Use the size of the generated rootfs
When constructing the SD card image, the code was using the inherited ROOTFS_SIZE, which is the size of the rootfs contents. When building (for example) a compressed rootfs, this allocates a partition much larger than necessary. Instead, take the size of the generated rootfs file that is about to be written into the generated image, and round it up to the IMAGE_ROOTFS_ALIGNMENT size. Fix some comments - the alignment is 4MiB, not 4KiB. Signed-off-by: Jan Schmidt <thaytan@noraisin.net> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-devtools/python')
0 files changed, 0 insertions, 0 deletions