diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2019-11-21 13:09:08 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-22 07:21:39 -0800 |
commit | 8e61ff98e9fd83aad1a5e957c4887ca28243a290 (patch) | |
tree | 6958138797b273168e4fa79eefdc019fd388c9a6 /meta-oe | |
parent | 8c9816bd3d312e1f059f562757cd25c0b79f11fe (diff) | |
download | meta-openembedded-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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/openct/openct_0.6.20.bb | 6 |
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 67b7c2975..08b2e3c23 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 += " \ | |||
56 | 56 | ||
57 | INSANE_SKIP_${PN} += "dev-deps" | 57 | INSANE_SKIP_${PN} += "dev-deps" |
58 | 58 | ||
59 | do_install_append() { | ||
60 | rm -r ${D}/${localstatedir}/run | ||
61 | } | ||
62 | |||
63 | do_install () { | 59 | do_install () { |
64 | rm -rf ${D} | 60 | rm -rf ${D} |
65 | install -d ${D}/etc | 61 | install -d ${D}/etc |
@@ -87,4 +83,6 @@ do_install () { | |||
87 | install -dm 755 ${D}${localstatedir}/run/openct | 83 | install -dm 755 ${D}${localstatedir}/run/openct |
88 | touch ${D}${localstatedir}/run/openct/status | 84 | touch ${D}${localstatedir}/run/openct/status |
89 | chmod 644 ${D}${localstatedir}/run/openct/status | 85 | chmod 644 ${D}${localstatedir}/run/openct/status |
86 | |||
87 | rm -r ${D}/${localstatedir}/run | ||
90 | } | 88 | } |