From b749653a10ca1b360bda597f9feda3eabac7ca2a Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 5 Apr 2018 16:46:46 -0400 Subject: Rework how we pass arguments to QEMU, provide a wks.in file - The official hook for changing the resolution we tell QEMU is UVESA_MODE so change agl_qemux86-64.inc to set the value there rather than override the whole of QB_KERNEL_CMDLINE_APPEND. - Make agl_qemux86-64.inc further append what's needed to QB_KERNEL_CMDLINE_APPEND as APPEND isn't used in the filesystem images we create anymore. - Create a directdisk.wks.in file that will (a) use --use-uuid and not force /boot to be looked for on /dev/sda1 (when it will _NOT_ be) and (b) evaluate QB_KERNEL_CMDLINE_APPEND to determine what the bootargs to the kernel will be. Change-Id: I49894d70e6c0010e0907b72f19fcc8fb0917e34a Bug-AGL: SPEC-1301 Signed-off-by: Tom Rini --- meta-agl-bsp/wic/directdisk.wks.in | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-agl-bsp/wic/directdisk.wks.in (limited to 'meta-agl-bsp/wic') diff --git a/meta-agl-bsp/wic/directdisk.wks.in b/meta-agl-bsp/wic/directdisk.wks.in new file mode 100644 index 000000000..f7b220cdb --- /dev/null +++ b/meta-agl-bsp/wic/directdisk.wks.in @@ -0,0 +1,9 @@ +# short-description: Create a 'pcbios' direct disk image +# long-description: Creates a partitioned legacy BIOS disk image that the user +# can directly dd to boot media. + +part /boot --source bootimg-pcbios --use-uuid --label boot --active --align 1024 +part / --source rootfs --use-uuid --fstype=ext4 --label platform --align 1024 + +bootloader --timeout=0 --append="rootwait rootfstype=ext4 ${QB_KERNEL_CMDLINE_APPEND}" + -- cgit 1.2.3-korg