Skip to content

Commit

Permalink
openct: merge do_install and do_install_append
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jluebbe authored and kraj committed Nov 22, 2019
1 parent 8c9816b commit 8e61ff9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions meta-oe/recipes-support/openct/openct_0.6.20.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}

0 comments on commit 8e61ff9

Please sign in to comment.