arm-rpi4: added resizing the root partition and FS to fill the SD card
This commit is contained in:
parent
604f814232
commit
72bf6c762a
@ -9,6 +9,7 @@ use/arm-rpi4: use/bootloader/uboot
|
||||
@$(call add,THE_PACKAGES,rpi4-boot-uboot-filetrigger)
|
||||
@$(call add,THE_PACKAGES,firmware-bcm4345)
|
||||
@$(call add,THE_PACKAGES,brcm-patchram-plus)
|
||||
@$(call add,THE_PACKAGES,rpi4-resize-rootpart)
|
||||
@$(call add,DEFAULT_SERVICES_ENABLE,attach-bluetooth)
|
||||
|
||||
endif
|
||||
|
5
features.in/arm-rpi4/image-scripts.d/91-edit-fstab-growfs
Executable file
5
features.in/arm-rpi4/image-scripts.d/91-edit-fstab-growfs
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh -efu
|
||||
|
||||
# For resize rootfs with systemd-growfs@-.service
|
||||
# set x-systemd.growfs option in /etc/fstab for rootfs
|
||||
sed -i '/^LABEL=ROOT/s/defaults/defaults,x-systemd.growfs/' /etc/fstab
|
Loading…
Reference in New Issue
Block a user