Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/6] openct: merge do_install and do_install_append
@ 2019-11-21 11:12 Jan Luebbe
  2019-11-21 11:12 ` [meta-oe][PATCH 2/6] pcsc-lite: add support for native builds Jan Luebbe
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jan Luebbe @ 2019-11-21 11:12 UTC (permalink / raw)
  To: openembedded-core

There is no reason why both should be used in the same recipe. Merge
them.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
---
 meta-oe/recipes-support/openct/openct_0.6.20.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/openct/openct_0.6.20.bb b/meta-oe/recipes-support/openct/openct_0.6.20.bb
index 67b7c2975302..08b2e3c23236 100644
--- a/meta-oe/recipes-support/openct/openct_0.6.20.bb
+++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb
@@ -56,10 +56,6 @@ FILES_${PN}-dbg += " \
 
 INSANE_SKIP_${PN} += "dev-deps"
 
-do_install_append() {
-    rm -r ${D}/${localstatedir}/run
-}
-
 do_install () {
     rm -rf ${D}
     install -d ${D}/etc
@@ -87,4 +83,6 @@ do_install () {
     install -dm 755 ${D}${localstatedir}/run/openct
     touch ${D}${localstatedir}/run/openct/status
     chmod 644 ${D}${localstatedir}/run/openct/status
+
+    rm -r ${D}/${localstatedir}/run
 }
-- 
2.24.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-21 12:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-21 11:12 [meta-oe][PATCH 1/6] openct: merge do_install and do_install_append Jan Luebbe
2019-11-21 11:12 ` [meta-oe][PATCH 2/6] pcsc-lite: add support for native builds Jan Luebbe
2019-11-21 11:12 ` [meta-oe][PATCH 3/6] opensc: use pcsc-lite instead of openct by default Jan Luebbe
2019-11-21 11:12 ` [meta-oe][PATCH 4/6] opensc: add support for native builds Jan Luebbe
2019-11-21 11:12 ` [meta-oe][PATCH 5/6] libp11: " Jan Luebbe
2019-11-21 11:12 ` [meta-oe][PATCH 6/6] softhsm: add recipe Jan Luebbe
2019-11-21 12:02 ` ✗ patchtest: failure for "[meta-oe] openct: merge do_ins..." and 5 more Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox