mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00

Add a dedicated bootloader config for the qemux86-64 machine so that the 'pmtmr=0' kernel command line argument can be provided, which removes an error message that otherwise occurs in syslog during boot which is detected by an OEQA test case causing it to fail. A new kickstart file is provided that applies the new bootloader config and it is supplied as an override to WKS_FILE for this image. This is work towards enabling the Xen Test Framework (XTF) in the OEQA testimage framework. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
13 lines
657 B
Plaintext
13 lines
657 B
Plaintext
# short-description: Create a 'pcbios' direct disk image with Xen hypervisor and bootloader config
|
|
# long-description: Creates a partitioned legacy BIOS disk image to boot Xen
|
|
# with a bootloader config that the user can directly dd to boot media.
|
|
# Boot files are located on the first vfat partition.
|
|
|
|
part /boot --source bootimg-biosxen --ondisk sda --label boot --active --align 1024
|
|
|
|
# For the main partition, it can be useful to add additional space for VMs;
|
|
# eg. increase partition size by appending: --size 10G
|
|
part / --source rootfs --ondisk sda --use-uuid --fstype=ext4 --label root --align 1024
|
|
|
|
bootloader --configfile="qemuboot-xen-x86-64.cfg"
|