* [Buildroot] [PATCH] package/util-linux: disable systemd for host build
@ 2020-02-19 11:25 John Keeping
2020-02-26 21:35 ` Thomas Petazzoni
2020-03-07 20:37 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: John Keeping @ 2020-02-19 11:25 UTC (permalink / raw)
To: buildroot
When building host-util-linux, the systemdsystemunitdir is set to the
real host directory, so the install step fails with:
/usr/bin/install: cannot remove '/usr/lib/systemd/system/fstrim.service': Permission denied
/usr/bin/install: cannot remove '/usr/lib/systemd/system/fstrim.timer': Permission denied
Since we don't need systemd support in host-util-linux, unconditionally
disable it for the host build.
Signed-off-by: John Keeping <john@metanate.com>
---
package/util-linux/util-linux.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 549442232e..b6ccaaa78d 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -38,7 +38,10 @@ UTIL_LINUX_CONF_OPTS += \
HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf
# We also don't want the host-python dependency
-HOST_UTIL_LINUX_CONF_OPTS = --without-python
+HOST_UTIL_LINUX_CONF_OPTS = \
+ --without-systemd \
+ --with-systemdsystemunitdir=no \
+ --without-python
# Prevent the installation from attempting to move shared libraries from
# ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/util-linux: disable systemd for host build
2020-02-19 11:25 [Buildroot] [PATCH] package/util-linux: disable systemd for host build John Keeping
@ 2020-02-26 21:35 ` Thomas Petazzoni
2020-03-07 20:37 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-02-26 21:35 UTC (permalink / raw)
To: buildroot
On Wed, 19 Feb 2020 11:25:59 +0000
John Keeping <john@metanate.com> wrote:
> When building host-util-linux, the systemdsystemunitdir is set to the
> real host directory, so the install step fails with:
>
> /usr/bin/install: cannot remove '/usr/lib/systemd/system/fstrim.service': Permission denied
> /usr/bin/install: cannot remove '/usr/lib/systemd/system/fstrim.timer': Permission denied
>
> Since we don't need systemd support in host-util-linux, unconditionally
> disable it for the host build.
>
> Signed-off-by: John Keeping <john@metanate.com>
> ---
> package/util-linux/util-linux.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/util-linux: disable systemd for host build
2020-02-19 11:25 [Buildroot] [PATCH] package/util-linux: disable systemd for host build John Keeping
2020-02-26 21:35 ` Thomas Petazzoni
@ 2020-03-07 20:37 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-03-07 20:37 UTC (permalink / raw)
To: buildroot
>>>>> "John" == John Keeping <john@metanate.com> writes:
> When building host-util-linux, the systemdsystemunitdir is set to the
> real host directory, so the install step fails with:
> /usr/bin/install: cannot remove '/usr/lib/systemd/system/fstrim.service': Permission denied
> /usr/bin/install: cannot remove '/usr/lib/systemd/system/fstrim.timer': Permission denied
> Since we don't need systemd support in host-util-linux, unconditionally
> disable it for the host build.
> Signed-off-by: John Keeping <john@metanate.com>
Committed to 2019.02.x and 2019.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-07 20:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19 11:25 [Buildroot] [PATCH] package/util-linux: disable systemd for host build John Keeping
2020-02-26 21:35 ` Thomas Petazzoni
2020-03-07 20:37 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.