From 8e61ff98e9fd83aad1a5e957c4887ca28243a290 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Thu, 21 Nov 2019 13:09:08 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- 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 67b7c297530..08b2e3c2323 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 }