[OE-core] [PATCH] bind: use PACKAGE_BEFORE_PN instead of PACKAGES_prepend

Ross Burton ross.burton at intel.com
Thu Nov 13 14:09:11 UTC 2014


Appending or prepending to PACKAGES breaks when the package is built natively,
so use PACKAGE_BEFORE_PN instead.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-connectivity/bind/bind_9.9.5.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bind/bind_9.9.5.bb b/meta/recipes-connectivity/bind/bind_9.9.5.bb
index ebd38ef..73f386e 100644
--- a/meta/recipes-connectivity/bind/bind_9.9.5.bb
+++ b/meta/recipes-connectivity/bind/bind_9.9.5.bb
@@ -46,7 +46,7 @@ PARALLEL_MAKE = ""
 
 RDEPENDS_${PN} = "python-core"
 
-PACKAGES_prepend = " ${PN}-utils "
+PACKAGE_BEFORE_PN += "${PN}-utils"
 FILES_${PN}-utils = "${bindir}/host ${bindir}/dig"
 FILES_${PN}-dev += "${bindir}/isc-config.h"
 FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
-- 
1.7.10.4




More information about the Openembedded-core mailing list