[oe-commits] Richard Purdie : bzip: Add extra files as a specific task

git at git.openembedded.org git at git.openembedded.org
Mon Mar 3 15:49:00 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: a41e03d94ad5c7d3388208a5037c84efb121473a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a41e03d94ad5c7d3388208a5037c84efb121473a

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar  3 15:50:45 2014 +0000

bzip: Add extra files as a specific task

This means that do_configure prefunc code can see the files in question
and ensures aclocal files get copied in.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
index 176421d..e9d745d 100644
--- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
+++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb
@@ -27,11 +27,13 @@ ALTERNATIVE_${PN} = "bunzip2 bzcat"
 
 #install binaries to bzip2-native under sysroot for replacement-native
 EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"
-do_configure_prepend () {
+do_extraunpack () {
 	cp ${WORKDIR}/configure.ac ${S}/
 	cp ${WORKDIR}/Makefile.am ${S}/
 }
 
+addtask extraunpack after do_unpack before do_patch
+
 do_install_ptest () {
 	sed -i -e "s|^Makefile:|_Makefile:|" ${D}${PTEST_PATH}/Makefile
 }



More information about the Openembedded-commits mailing list