use labels
This commit is contained in:
parent
045e6a65af
commit
c48f59d1dc
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user