Skip to content

Commit

Permalink
rpi: Auto grow the actual /home partition.
Browse files Browse the repository at this point in the history
With the current service, only the extended partition is expanded to fill
the space. This also extends partition 6 which is the current /home
and the last partition on the disk.

Signed-off-by: Drew Moseley <[email protected]>
  • Loading branch information
drewmoseley committed Mar 17, 2024
1 parent ef0186a commit 9abf91b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Before=home.mount
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/parted --script /dev/mmcblk0 resizepart 4 100%
ExecStart=/usr/sbin/parted --script /dev/mmcblk0 resizepart 6 100%

[Install]
WantedBy=home.mount

0 comments on commit 9abf91b

Please sign in to comment.