diff options
author | Kristian Amlie <kristian.amlie@mender.io> | 2017-01-30 16:43:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-02 17:37:43 +0000 |
commit | 47be19240f90297516156741d6e5f5ddfe0b9da5 (patch) | |
tree | 1c6f27bcf402fea711a14974b2c113e952bc70dc /meta/recipes-core | |
parent | 6b149b6dbd6a3d709335317685644d55617225f4 (diff) | |
download | poky-47be19240f90297516156741d6e5f5ddfe0b9da5.tar.gz |
wic-tools: Do not remove sysroot with rm_work, because wic needs it.
The sysroot of wic-tools is needed for wic, but if rm_work is enabled,
it will be removed before wic has a chance to use it, hence this fix.
(From OE-Core rev: fc59d35a8ceae6302e0a161bab04829fdfd157cd)
Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/meta/wic-tools.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb index 1d9ea9c0e9..bd4319a803 100644 --- a/meta/recipes-core/meta/wic-tools.bb +++ b/meta/recipes-core/meta/wic-tools.bb | |||
@@ -9,6 +9,10 @@ DEPENDS_append_x86-64 = " syslinux grub-efi systemd-boot" | |||
9 | INHIBIT_DEFAULT_DEPS = "1" | 9 | INHIBIT_DEFAULT_DEPS = "1" |
10 | inherit nopackages | 10 | inherit nopackages |
11 | 11 | ||
12 | # The sysroot of wic-tools is needed for wic, but if rm_work is enabled, it will | ||
13 | # be removed before wic has a chance to use it, hence the exclusion below. | ||
14 | RM_WORK_EXCLUDE += "${PN}" | ||
15 | |||
12 | python do_build_sysroot () { | 16 | python do_build_sysroot () { |
13 | bb.build.exec_func("extend_recipe_sysroot", d) | 17 | bb.build.exec_func("extend_recipe_sysroot", d) |
14 | 18 | ||