Skip to contentSkip to conversation

systemd: explicitly set the path to nologin

PATCH New Ross Burton 1 participant 1 message Sep 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: explicitly set the path to nologin

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).

---
 meta/recipes-core/systemd/systemd_242.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_242.bb +1 -0
index 6fbb8548868..759d6af6022 100644
@@ -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() {
Signature · 1 line
2.20.1