@@ -188,6 +188,7 @@ PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux,initscripts-sushell"
PACKAGECONFIG[smack] = "-Dsmack=true,-Dsmack=false"
PACKAGECONFIG[sysext] = "-Dsysext=true, -Dsysext=false"
+PACKAGECONFIG[sysinstall] = "-Dsysinstall=true,-Dsysinstall=false"
PACKAGECONFIG[sysusers] = "-Dsysusers=true,-Dsysusers=false"
# When enabled use reproducible build timestamp if set as time epoch,
# or build time if not. When disabled, time epoch is unset.
@@ -871,6 +872,9 @@ python __anonymous() {
if bb.utils.contains('PACKAGECONFIG', 'homed', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'userdb openssl cryptsetup', True, False, d):
bb.error("PACKAGECONFIG[homed] requires PACKAGECONFIG[userdb], PACKAGECONFIG[openssl] and PACKAGECONFIG[cryptsetup]")
+
+ if bb.utils.contains('PACKAGECONFIG', 'sysinstall', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'repart', True, False, d):
+ bb.warn("PACKAGECONFIG[sysinstall] may call commands from PACKAGECONFIG[repart]. Consider adding it")
}
ALTERNATIVE:${PN} = "halt reboot shutdown poweroff \
sysinstall is a system installer tool and is unnecessary on some embedded systems. It calls systemd-repart at runtime, but repart is not enabled by default, so the shipped tool could not work in the default configuration anyway. Add a packageconfig option, disabled by default, and warn when it is enabled without repart. Signed-off-by: Tan Siewert <tan.siewert@9elements.com> --- meta/recipes-core/systemd/systemd_262.bb | 4 ++++ 1 file changed, 4 insertions(+)