diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 16:23:32 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-06 16:23:32 +0000 |
commit | 436c5f4716bae47bf9ddddfe0cbaf595a3de46c7 (patch) | |
tree | f4f9a76d581903d2b62f58b490996552ed47d9e4 /meta/classes/image.bbclass | |
parent | 1e967ea93ee425dfca6857ec958e9a55160133ac (diff) | |
download | poky-436c5f4716bae47bf9ddddfe0cbaf595a3de46c7.tar.gz |
classes: Add mechanism to install packages into images only if they've been built
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 8407cdd567..35b7e12498 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -9,6 +9,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
9 | # "export IMAGE_BASENAME" not supported at this time | 9 | # "export IMAGE_BASENAME" not supported at this time |
10 | IMAGE_BASENAME[export] = "1" | 10 | IMAGE_BASENAME[export] = "1" |
11 | export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}" | 11 | export PACKAGE_INSTALL ?= "${IMAGE_INSTALL}" |
12 | PACKAGE_INSTALL_ATTEMPTONLY ?= "" | ||
12 | 13 | ||
13 | # We need to recursively follow RDEPENDS and RRECOMMENDS for images | 14 | # We need to recursively follow RDEPENDS and RRECOMMENDS for images |
14 | do_rootfs[recrdeptask] += "do_deploy do_populate_staging" | 15 | do_rootfs[recrdeptask] += "do_deploy do_populate_staging" |
@@ -36,6 +37,7 @@ python () { | |||
36 | bb.data.setVarFlag('do_rootfs', 'depends', deps, d) | 37 | bb.data.setVarFlag('do_rootfs', 'depends', deps, d) |
37 | 38 | ||
38 | runtime_mapping_rename("PACKAGE_INSTALL", d) | 39 | runtime_mapping_rename("PACKAGE_INSTALL", d) |
40 | runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) | ||
39 | } | 41 | } |
40 | 42 | ||
41 | # | 43 | # |