[Buildroot] [PATCH 4/4] board/raspberrypi: auto-expand rootfs on first boot

Floris Bos bos at je-eigen-domein.nl
Mon Aug 31 12:17:14 UTC 2015


On 08/22/2015 10:01 PM, Benoît Thébaudeau wrote:
> Add init scripts to auto-expand the persistent rootfs on the first boot
> to fill the medium.

Wonder if it wouldn't be better to have a package section in buildroot 
for commonly used init scripts like this?

I don't think resizing the rootfs is specific to only this board.
And by making it a package you could do "depends on 
!BR2_TARGET_ROOTFS_INITRAMFS" instead of grep magic in the post build 
script.


Yours sincerely,

Floris Bos



More information about the buildroot mailing list