Jelajahi Sumber

systemd-conf: Fix clean support

(From OE-Core rev: ed335e201c878ab4518675f57ce0d12cdc60e02e)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Hatle 6 tahun lalu
induk
melakukan
4046716c2f
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      meta/recipes-core/systemd/systemd-conf.bb

+ 2 - 0
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