mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
xen: make QB_ assignments weak
runqemu is looking for the QB_DEFAULT_KERNEL to be set to "none" to trigger special processing. The current set of QB_DEFAULT_KERNEL="" won't trigger that behaviour .. so we change the default. We also make the assignments weak, to allow easier overrides in specific implementations. We also need a patch to qemuboot.bbclass to make the defaults ??=, and when that is done, our ?= here will work properly. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
2711b81afd
commit
2f22425222
|
@ -74,10 +74,10 @@ build_syslinux_cfg () {
|
||||||
|
|
||||||
# Enable runqemu. eg: runqemu xen-image-minimal nographic slirp
|
# Enable runqemu. eg: runqemu xen-image-minimal nographic slirp
|
||||||
WKS_FILE_x86-64 = "directdisk-xen.wks"
|
WKS_FILE_x86-64 = "directdisk-xen.wks"
|
||||||
QB_MEM = "-m 400"
|
QB_MEM ?= "-m 400"
|
||||||
QB_DEFAULT_KERNEL = ""
|
QB_DEFAULT_KERNEL ?= "none"
|
||||||
QB_DEFAULT_FSTYPE = "wic"
|
QB_DEFAULT_FSTYPE ?= "wic"
|
||||||
QB_FSINFO = "wic:kernel-in-fs"
|
QB_FSINFO ?= "wic:kernel-in-fs"
|
||||||
# qemux86-64 machine does not include 'wic' in IMAGE_FSTYPES, which is needed
|
# qemux86-64 machine does not include 'wic' in IMAGE_FSTYPES, which is needed
|
||||||
# to boot this image, so add it here:
|
# to boot this image, so add it here:
|
||||||
IMAGE_FSTYPES_qemux86-64 += "wic"
|
IMAGE_FSTYPES_qemux86-64 += "wic"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user