summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2018-10-25 05:52:18 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-28 08:31:49 +0000
commited335e201c878ab4518675f57ce0d12cdc60e02e (patch)
tree48f4d9484f05c70a62aa9914280fb8e28a0556ed
parentc5c5ad9030ec7ddaa6387e2ba52e9e37b9ea76a2 (diff)
downloadopenembedded-core-contrib-ed335e201c878ab4518675f57ce0d12cdc60e02e.tar.gz
openembedded-core-contrib-ed335e201c878ab4518675f57ce0d12cdc60e02e.tar.bz2
openembedded-core-contrib-ed335e201c878ab4518675f57ce0d12cdc60e02e.zip
systemd-conf: Fix clean support
Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd-conf.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf.bb b/meta/recipes-core/systemd/systemd-conf.bb
index c694efbbf1..9bb27fd96d 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