* [PATCH v2 0/1] ptest: run-ptest not required to run do_install_ptest
@ 2015-09-30 10:03 Ian Ray
2015-09-30 10:03 ` [PATCH v2 1/1] " Ian Ray
0 siblings, 1 reply; 2+ messages in thread
From: Ian Ray @ 2015-09-30 10:03 UTC (permalink / raw)
To: openembedded-core
This is a re-worked patch after some discussion in mailing list thread
"ptest: user-specified run-ptest script location".
Enables "ptest-aware" packages to install the run-ptest script as part
of the package install instead of bundling it in the recipe layer.
Ian Ray (1):
ptest: run-ptest not required to run do_install_ptest
meta/classes/ptest.bbclass | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 1/1] ptest: run-ptest not required to run do_install_ptest
2015-09-30 10:03 [PATCH v2 0/1] ptest: run-ptest not required to run do_install_ptest Ian Ray
@ 2015-09-30 10:03 ` Ian Ray
0 siblings, 0 replies; 2+ messages in thread
From: Ian Ray @ 2015-09-30 10:03 UTC (permalink / raw)
To: openembedded-core
Modify do_install_ptest_base to run do_install_ptest and install the
Makefile irrespective of the presence of ${WORKDIR}/run-ptest. This
change allows "ptest-aware" packages to install run-ptest as part of
the make machinery.
Signed-off-by: Ian Ray <ian.ray@ge.com>
---
meta/classes/ptest.bbclass | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index b5f470f..4dc5dbe 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -39,12 +39,12 @@ do_install_ptest() {
do_install_ptest_base() {
if [ -f ${WORKDIR}/run-ptest ]; then
install -D ${WORKDIR}/run-ptest ${D}${PTEST_PATH}/run-ptest
- if grep -q install-ptest: Makefile; then
- oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest
- fi
- do_install_ptest
- chown -R root:root ${D}${PTEST_PATH}
fi
+ if grep -q install-ptest: Makefile; then
+ oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest
+ fi
+ do_install_ptest
+ chown -R root:root ${D}${PTEST_PATH}
}
do_configure_ptest_base[dirs] = "${B}"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-30 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 10:03 [PATCH v2 0/1] ptest: run-ptest not required to run do_install_ptest Ian Ray
2015-09-30 10:03 ` [PATCH v2 1/1] " Ian Ray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox