Commit 72bf6c76 authored by Dmitriy Terekhin's avatar Dmitriy Terekhin Committed by Anton Midyukov

arm-rpi4: added resizing the root partition and FS to fill the SD card

parent 604f8142
......@@ -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
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment