aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-debian-images/builders-fai.sh
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@linaro.org>2019-10-23 15:21:17 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-11-20 12:55:48 +0000
commit743911570a519d9967660ec30f38c7f542b528b7 (patch)
tree4f89c0ca7d90615564fc51c042b43b1eda987026 /lt-qcom-debian-images/builders-fai.sh
parentf04d7f97e0b57e4e7b6ad3646d81a7805e6d5c04 (diff)
lt-qcom-debian-images: cleanup kernel command line parameters
-Remove rootwait, when using an initramdisk, the kernel doesn't parse this. The debian initramdisk also doesn't parse this. (But it still always waits for async devices to show up.) -Remove rw. As long as /etc/fstab exists, systemd-fstab-generator will create -.mount, and systemd-remount-fs.service will remount all filesystems according to fstab, so the ro/rw set by the initramdisk doesn't matter. -Use PARTLABEL rather than /dev/disk/by-partlabel/. PARTLABEL is supported by the debian initramdisk, and it is the same syntax that is used by the kernel. PARTLABEL is also more compact. Change-Id: If19123cc62c43c0dcc9f8bbed07cb1c917b7872c Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Diffstat (limited to 'lt-qcom-debian-images/builders-fai.sh')
-rw-r--r--lt-qcom-debian-images/builders-fai.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lt-qcom-debian-images/builders-fai.sh b/lt-qcom-debian-images/builders-fai.sh
index 9b86a7d895..e6e1f8f721 100644
--- a/lt-qcom-debian-images/builders-fai.sh
+++ b/lt-qcom-debian-images/builders-fai.sh
@@ -162,7 +162,7 @@ cd ..
ROOTFS_PARTLABEL=$(grep --color=never -Po "^ROOTFS_PARTLABEL=\K.*" class/${FAI_BOARD_CLASS}.var)
# Create boot image
-KERNEL_CMDLINE="root=/dev/disk/by-partlabel/${ROOTFS_PARTLABEL} rw rootwait console=tty0 console=${SERIAL_CONSOLE},115200n8 ${KERNEL_CMDLINE_PLATFORM}"
+KERNEL_CMDLINE="root=PARTLABEL=${ROOTFS_PARTLABEL} console=tty0 console=${SERIAL_CONSOLE},115200n8 ${KERNEL_CMDLINE_PLATFORM}"
cat out/vmlinuz-* out/$(basename ${DTBS}) > Image.gz+dtb
mkbootimg \
--kernel Image.gz+dtb \