Do not capitalize PARTUUID
- it is not needed for booting the "Raspberry PI OS" way - it breaks booting with an intitramfs
This commit is contained in:
parent
4760f97fd9
commit
a0ec8c12a3
@ -150,7 +150,7 @@ UUID_ROOTFS="$(/bin/cat $INSTALL_ROOT/etc/fstab | \
|
||||
|
||||
# Get the PARTUUID of the rootfs partition
|
||||
PART_UUID_ROOTFS="$(/sbin/blkid "$(/sbin/blkid --uuid $UUID_ROOTFS)" | \
|
||||
/bin/awk '{print toupper($NF)}' | /bin/tr -d '"' )"
|
||||
/bin/awk '{print $NF}' | /bin/tr -d '"' )"
|
||||
|
||||
# Configure the kernel commandline
|
||||
/bin/sed -i "s/root= /root=${PART_UUID_ROOTFS} /" $INSTALL_ROOT/boot/cmdline.txt
|
||||
|
Loading…
Reference in New Issue
Block a user