[OE-core] [PATCH] systemd-conf: Fix clean support

Mark Hatle mark.hatle at windriver.com
Thu Oct 25 09:52:18 UTC 2018


Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
 meta/recipes-core/systemd/systemd-conf.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd-conf.bb b/meta/recipes-core/systemd/systemd-conf.bb
index c694efb..9bb27fd 100644
--- a/meta/recipes-core/systemd/systemd-conf.bb
+++ b/meta/recipes-core/systemd/systemd-conf.bb
@@ -16,9 +16,11 @@ ${sysconfdir}/systemd/user.conf"
 
 FILES_${PN} = "${sysconfdir}/machine-id ${sysconfdir}/systemd"
 
+do_configure[noexec] = '1'
 do_compile[noexec] = '1'
 
 do_install() {
+	rm -rf ${D}/${sysconfdir}/systemd
 	install -d ${D}/${sysconfdir}/systemd
 
 	# Create machine-id
-- 
1.8.3.1




More information about the Openembedded-core mailing list