From fc032efe8a37ac9740e082a6130003a97344b173 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 15 Mar 2022 12:50:59 -0400 Subject: [PATCH] iiab-expand-rootfs: ALL kinds of boot disks should work! --- roles/1-prep/templates/iiab-expand-rootfs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/1-prep/templates/iiab-expand-rootfs b/roles/1-prep/templates/iiab-expand-rootfs index 8a208a078..48c8872ba 100644 --- a/roles/1-prep/templates/iiab-expand-rootfs +++ b/roles/1-prep/templates/iiab-expand-rootfs @@ -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"