]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd-conf: Fix clean support
authorMark Hatle <mark.hatle@windriver.com>
Thu, 25 Oct 2018 09:52:18 +0000 (05:52 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Oct 2018 08:31:49 +0000 (08:31 +0000)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-conf.bb

index c694efbbf147fc6cf4c3927d7c9ddfd460a90a49..9bb27fd96d9c3e1d0cf5eb356f29468c34415fb5 100644 (file)
@@ -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