From f11103f4778aa8b278b2b16a481961a9caea5660 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 7 Apr 2022 17:09:23 +0100 Subject: [PATCH] qemuarm64-secureboot: set root device correctly The default root device is /dev/vda, because typically a bare filesystem is mounted there. However, qemuarm64-secureboot uses a disk image with partitions, so this should be /dev/vda2. Currently this works because qemuarm64-secureboot has an extlinux.conf which explicitly sets the root device, but we're working at removing that. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/conf/machine/qemuarm64-secureboot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arm/conf/machine/qemuarm64-secureboot.conf b/meta-arm/conf/machine/qemuarm64-secureboot.conf index 22fb1d3e..a467b204 100644 --- a/meta-arm/conf/machine/qemuarm64-secureboot.conf +++ b/meta-arm/conf/machine/qemuarm64-secureboot.conf @@ -14,6 +14,7 @@ QB_DEFAULT_FSTYPE = "wic.qcow2" QB_DEFAULT_BIOS = "flash.bin" QB_FSINFO = "wic:no-kernel-in-fs" QB_ROOTFS_OPT = "" +QB_KERNEL_ROOT = "/dev/vda2" IMAGE_FSTYPES += "wic wic.qcow2"