diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 16:49:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-19 22:50:14 +0000 |
commit | aff8ca95b8303a4a2a5600c0d8ec0a50ad677258 (patch) | |
tree | ed8ee52ab058d42e7718206847f806d2e52d5e34 /meta/classes/package_ipk.bbclass | |
parent | 7b05ea65a8db8a27b2a5579675775ee34ceb63c2 (diff) | |
download | openembedded-core-aff8ca95b8303a4a2a5600c0d8ec0a50ad677258.tar.gz openembedded-core-aff8ca95b8303a4a2a5600c0d8ec0a50ad677258.tar.bz2 openembedded-core-aff8ca95b8303a4a2a5600c0d8ec0a50ad677258.zip |
classes/package*: Add support for PACKAGE_WRITE_DEPS
Add a new variable to allow markup of postinstall (and preinst)
script dependnecies on native/cross tools.
If your postinstall can execute at rootfs creation time rather than on
target but depends on a native tool in order to execute, you need to
list that tool in PACKAGE_WRITE_DEPENDS.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 7018a600a9..039b6ab69b 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -291,6 +291,7 @@ python do_package_write_ipk () { do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}" do_package_write_ipk[umask] = "022" +do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" addtask package_write_ipk after do_packagedata do_package PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" |