Skip to content

Commit

Permalink
bsp: Fix dependency of image on acpi-upgrades
Browse files Browse the repository at this point in the history
Let the image properly depend on acpi-upgrades so that required
artifacts are available in time. We need an explicit dependency of the
do_bootimg on the deployment of acpi-upgrades because the cpio file is
only available after that.

Reported by a user in the support forum and reproduced at the end via a
single-threaded build.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
jan-kiszka committed Dec 7, 2017
1 parent 2e72b9c commit 6cd8575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion meta-iot2000-bsp/conf/machine/iot2000.conf
Expand Up @@ -32,5 +32,4 @@ IMAGE_INSTALL_append = " kernel-modules"
# Package compatiblity:
PACKAGE_EXTRA_ARCHS_append = " intel-quark quark i586 x86"

EXTRA_IMAGEDEPENDS_append = " acpi-upgrades"
INITRD_LIVE_prepend = "${DEPLOY_DIR_IMAGE}/acpi-upgrades-${MACHINE}.cpio "
3 changes: 3 additions & 0 deletions meta-iot2000-bsp/recipes-core/images/core-image-iot2000.inc
@@ -1,3 +1,6 @@
require wic-image.inc

DEPENDS += "acpi-upgrades"
do_bootimg[depends] += "acpi-upgrades:do_deploy"

IMAGE_INSTALL_append = " switchmode"

0 comments on commit 6cd8575

Please sign in to comment.