use labels

This commit is contained in:
Louis Abel 2024-05-03 13:59:53 -07:00
parent 045e6a65af
commit c48f59d1dc
Signed by: label
GPG Key ID: 2A6975660E424560
2 changed files with 5 additions and 2 deletions

View File

@ -713,6 +713,9 @@ EOF
function raspberrypi_sbc_steps() { function raspberrypi_sbc_steps() {
cd /lib/firmware/brcm cd /lib/firmware/brcm
xz -d -k brcmfmac43430-sdio.raspberrypi,3-model-b.txt.xz xz -d -k brcmfmac43430-sdio.raspberrypi,3-model-b.txt.xz
cat > /boot/cmdline.txt << EOF
console=ttyAMA0,115200 console=tty1 root=LABEL=RPIROOT rootfstype=ext4 elevator=deadline rootwait
EOF
} }
# #

View File

@ -15,8 +15,8 @@
<type image="oem" format="raw" <type image="oem" format="raw"
filesystem="ext4" filesystem="ext4"
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="efi" bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="100" firmware="efi"
kernelcmdline="console=ttyAMA0,115200 console=tty1 root= rootfstype=ext4 elevator=deadline rootwait" kernelcmdline="console=ttyAMA0,115200 console=tty1 root=LABEL=RPIROOT rootfstype=ext4 elevator=deadline rootwait"
devicepersistency="by-uuid" devicepersistency="by-label"
editbootinstall="editbootinstall_rpi.sh" editbootinstall="editbootinstall_rpi.sh"
rootfs_label="RPIROOT"> rootfs_label="RPIROOT">
<oemconfig> <oemconfig>