mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab-expand-rootfs: ALL kinds of boot disks should work!
This commit is contained in:
parent
85eb059add
commit
fc032efe8a
1 changed files with 4 additions and 2 deletions
|
@ -3,8 +3,10 @@
|
|||
# Expand rootfs partition to its maximum size, if /.expand-rootfs exists.
|
||||
# Used by /etc/systemd/system/iiab-expand-rootfs.service on IIAB boot.
|
||||
|
||||
# Should work with most Linux OS's, regardless whether Raspberry Pi SD cards
|
||||
# or external USB boot disks, etc. Verifies that rootfs is the last partition.
|
||||
# Should work with all Linux OS's boot disks -- regardless whether Raspberry Pi
|
||||
# microSD cards, external USB drives, internal spinning disks or SSD's, etc.
|
||||
|
||||
# Verifies that rootfs is the last partition.
|
||||
|
||||
if [ -f /.expand-rootfs ] || [ -f /.resize-rootfs ]; then
|
||||
echo "$0: Expanding rootfs partition"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue