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 <drew@moseleynet.net>
  • Loading branch information
drewmoseley authored and leon-anavi committed Apr 3, 2024
1 parent 1625dbd commit 4409a8c
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 4409a8c

Please sign in to comment.