mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-06 15:20:12 +00:00
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>
This commit is contained in:
@@ -56,10 +56,6 @@ FILES_${PN}-dbg += " \
|
|||||||
|
|
||||||
INSANE_SKIP_${PN} += "dev-deps"
|
INSANE_SKIP_${PN} += "dev-deps"
|
||||||
|
|
||||||
do_install_append() {
|
|
||||||
rm -r ${D}/${localstatedir}/run
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
rm -rf ${D}
|
rm -rf ${D}
|
||||||
install -d ${D}/etc
|
install -d ${D}/etc
|
||||||
@@ -87,4 +83,6 @@ do_install () {
|
|||||||
install -dm 755 ${D}${localstatedir}/run/openct
|
install -dm 755 ${D}${localstatedir}/run/openct
|
||||||
touch ${D}${localstatedir}/run/openct/status
|
touch ${D}${localstatedir}/run/openct/status
|
||||||
chmod 644 ${D}${localstatedir}/run/openct/status
|
chmod 644 ${D}${localstatedir}/run/openct/status
|
||||||
|
|
||||||
|
rm -r ${D}/${localstatedir}/run
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user