aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2019-11-21 13:09:08 +0100
committerKhem Raj <raj.khem@gmail.com>2019-11-22 07:21:39 -0800
commit8e61ff98e9fd83aad1a5e957c4887ca28243a290 (patch)
tree6958138797b273168e4fa79eefdc019fd388c9a6
parent8c9816bd3d312e1f059f562757cd25c0b79f11fe (diff)
downloadmeta-openembedded-contrib-8e61ff98e9fd83aad1a5e957c4887ca28243a290.tar.gz
openct: merge do_install and do_install_append
There is no reason why both should be used in the same recipe. Merge them. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/openct/openct_0.6.20.bb6
1 files 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 67b7c29753..08b2e3c232 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
}