fix(swupdate): make swupdate dependent on EFI
This fixes that swupdate service cannot be starten for qemu machines.
This commit is contained in:
parent
b4e480e15d
commit
17855553fc
|
|
@ -2,5 +2,8 @@ DESCRIPTION = "An image that come with most of the feature available in CoreOS"
|
|||
|
||||
inherit coreos-image
|
||||
|
||||
IMAGE_FEATURES += "ssh-server podman dev-tools cockpit networkmanager swupdate"
|
||||
IMAGE_INSTALL:append = " packagegroup-core-full-cmdline swupdate-www"
|
||||
IMAGE_FEATURES += "ssh-server podman dev-tools cockpit networkmanager"
|
||||
IMAGE_FEATURES += "${@bb.utils.contains("MACHINE_FEATURES", "efi", "swupdate", "", d)}"
|
||||
|
||||
IMAGE_INSTALL:append = " packagegroup-core-full-cmdline"
|
||||
IMAGE_INSTALL:append = "${@bb.utils.contains("IMAGE_FEATURES", "swupdate", " swupdate-www", "", d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue