diff mbox series

package/rauc: disable systemd for host build

Message ID 20201113151558.1041972-1-b.bilas@grinn-global.com
State Accepted
Headers show
Series package/rauc: disable systemd for host build | expand

Commit Message

Bartosz Bilas Nov. 13, 2020, 3:15 p.m. UTC
Since there is no necessity to have the 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@grinn-global.com>
---
 package/rauc/rauc.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Nov. 14, 2020, 1:30 p.m. UTC | #1
>>>>> "Bartosz" == Bartosz Bilas <b.bilas@grinn-global.com> writes:

 > Since there is no necessity to have the 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@grinn-global.com>

Committed, thanks.
Peter Korsgaard Nov. 16, 2020, 3:06 p.m. UTC | #2
>>>>> "Bartosz" == Bartosz Bilas <b.bilas@grinn-global.com> writes:

 > Since there is no necessity to have the 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@grinn-global.com>

Committed to 2020.02.x and 2020.08.x, thanks.
diff mbox series

Patch

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))