From 436c5f4716bae47bf9ddddfe0cbaf595a3de46c7 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 6 Nov 2008 16:23:32 +0000 Subject: classes: Add mechanism to install packages into images only if they've been built --- meta/classes/image.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/image.bbclass') diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 8407cdd56..35b7e1249 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -9,6 +9,7 @@ INHIBIT_DEFAULT_DEPS = "1" # "export IMAGE_BASENAME" not supported at this time IMAGE_BASENAME[export] = "1" export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}" +PACKAGE_INSTALL_ATTEMPTONLY ?= "" # We need to recursively follow RDEPENDS and RRECOMMENDS for images do_rootfs[recrdeptask] += "do_deploy do_populate_staging" @@ -36,6 +37,7 @@ python () { bb.data.setVarFlag('do_rootfs', 'depends', deps, d) runtime_mapping_rename("PACKAGE_INSTALL", d) + runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) } # -- cgit v1.2.3