From: Norbert Lange Date: Sat, 11 Jul 2020 01:41:48 +0200 Subject: [Buildroot] [PATCH 2/3] package/systemd: fix telinit-path and add missing pat options In-Reply-To: <20200710234150.185609-1-nolange79@gmail.com> References: <20200710234150.185609-1-nolange79@gmail.com> Message-ID: <20200710234150.185609-2-nolange79@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 --- 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