[Buildroot] [git commit] package/rauc: disable systemd for host build

Peter Korsgaard peter at korsgaard.com
Sat Nov 14 13:30:19 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=abeebe1ea84ef56608b09d07b724a39da4f35fa5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since there is not necessary to have support of systemd within the host
variant let's disable it unconditionally to solve the following errors:

/usr/bin/install -c -m 644 data/rauc.service '/usr/lib/systemd/system'
/usr/bin/install: cannot create regular file '/usr/lib/systemd/system/rauc.service': Permission denied
/usr/bin/install -c -m 644 data/de.pengutronix.rauc.conf 'no'
make[4]: *** [Makefile:1700: install-nodist_systemdunitDATA] Error 1
make[4]: *** Waiting for unfinished jobs....

Signed-off-by: Bartosz Bilas <b.bilas at grinn-global.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/rauc/rauc.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
index 61c50ab316..a6c7c01095 100644
--- a/package/rauc/rauc.mk
+++ b/package/rauc/rauc.mk
@@ -46,7 +46,8 @@ HOST_RAUC_CONF_OPTS += \
 	--disable-network \
 	--disable-json \
 	--disable-service \
-	--without-dbuspolicydir
+	--without-dbuspolicydir \
+	--with-systemdunitdir=no
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))


More information about the buildroot mailing list