]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: explicitly set the path to nologin
authorRoss Burton <ross.burton@intel.com>
Mon, 2 Sep 2019 18:54:15 +0000 (19:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2019 07:13:40 +0000 (08:13 +0100)
Set the path to nologin as with sulogin etc so we don't try to execute binaries
from the build path on the target (as the build finds a nologin in the sysroot
at build time).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_242.bb

index 6fbb8548868879b0fe215280d9f86874762a8e80..759d6af60222df9989d9f6abb2d3bb1b78c129fe 100644 (file)
@@ -206,6 +206,7 @@ EXTRA_OEMESON += "-Dkexec-path=${sbindir}/kexec \
                   -Dquotacheck-path=${sbindir}/quotacheck \
                   -Dquotaon-path=${sbindir}/quotaon \
                   -Dsulogin-path=${base_sbindir}/sulogin \
+                  -Dnologin-path=${base_sbindir}/nologin \
                   -Dumount-path=${base_bindir}/umount"
 
 do_install() {