[Buildroot] [PATCH 2/3] package/systemd: fix telinit-path and add missing pat options
Adam Duskett
aduskett at gmail.com
Mon Sep 28 18:58:09 UTC 2020
All:
reviewed-by: Adam Duskett <aduskett at gmail.com>
On Fri, Jul 10, 2020 at 4:42 PM Norbert Lange <nolange79 at gmail.com> wrote:
>
> If paths are not set, then meson will search the host system for the
> binaries (or the target, where those binaries are not yet installed).
> So add the missing paths.
>
> Also fixup the path to telinit (nice way to get a build path into the binary).
>
> Signed-off-by: Norbert Lange <nolange79 at gmail.com>
> ---
> package/systemd/systemd.mk | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 05d8cb4934..176adb434a 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -32,12 +32,16 @@ SYSTEMD_CONF_OPTS += \
> -Dsplit-usr=false \
> -Dsystem-uid-max=999 \
> -Dsystem-gid-max=999 \
> - -Dtelinit-path=$(TARGET_DIR)/sbin/telinit \
> + -Dquotaon-path=/usr/sbin/quotaon \
> + -Dquotacheck-path=/usr/sbin/quotacheck \
> -Dkmod-path=/usr/bin/kmod \
> -Dkexec-path=/usr/sbin/kexec \
> -Dsulogin-path=/usr/sbin/sulogin \
> -Dmount-path=/usr/bin/mount \
> -Dumount-path=/usr/bin/umount \
> + -Dloadkeys-path=/usr/bin/loadkeys \
> + -Dsetfont-path=/usr/bin/setfont \
> + -Dtelinit-path=/sbin/telinit \
> -Dnobody-group=nogroup \
> -Didn=true \
> -Dnss-systemd=true
> --
> 2.27.0
>
More information about the buildroot
mailing list