mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
1-prep/templates/iiab-rpi-max-rootfs.sh: Explain & link to PR #3121
This commit is contained in:
parent
e7b201e84c
commit
bd71b9484b
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ if [ -f /.resize-rootfs ]; then
|
|||
else
|
||||
# ASSUMES SD CARD STYLE PARTITION NAME LIKE <device>p<partition number>
|
||||
# e.g. /dev/mmcblk0p2 mounts at / (typical RasPiOS microSD)
|
||||
# BUT /dev/sda2 mounts at /media/usb1 (typical RasPiOS USB boot
|
||||
# disk WON'T WORK BELOW!)
|
||||
# BUT /dev/sda2 mounts at /media/usb1 (RasPiOS USB boot disk...
|
||||
# ...WON'T WORK BELOW; recap @ PR #3121)
|
||||
|
||||
# Calculate root partition
|
||||
root_part=`lsblk -aP -o NAME,MOUNTPOINT | grep 'MOUNTPOINT="/"' | awk -F\" '{ print $2 }'` # e.g. mmcblk0p2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue