[Buildroot] [PATCH] package/util-linux: disable systemd for host build

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 26 21:35:54 UTC 2020


On Wed, 19 Feb 2020 11:25:59 +0000
John Keeping <john at 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 at 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


More information about the buildroot mailing list