systemd: Password agents shouldn't be optional

If extra-utils package is not included in the image, you'll always see a
warning that password agent is missing whenever you start/stop a service:
Failed to execute /usr/bin/systemd-tty-ask-password-agent: No such file or directory

(From OE-Core rev: a87d523ab24e4ea87d1b19ea3a0c515cc47db1b6)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Vyacheslav Yurkov 2025-04-29 19:46:50 +02:00 committed by Richard Purdie
parent 0ee82d7740
commit 98889f60cc

View File

@ -602,26 +602,16 @@ FILES:${PN}-extra-utils = "\
${bindir}/systemd-cgls \ ${bindir}/systemd-cgls \
${bindir}/systemd-cgtop \ ${bindir}/systemd-cgtop \
${bindir}/systemd-stdio-bridge \ ${bindir}/systemd-stdio-bridge \
${base_bindir}/systemd-ask-password \
${base_bindir}/systemd-tty-ask-password-agent \
${base_sbindir}/mount.ddi \ ${base_sbindir}/mount.ddi \
${systemd_system_unitdir}/initrd.target.wants/systemd-pcrphase-initrd.path \ ${systemd_system_unitdir}/initrd.target.wants/systemd-pcrphase-initrd.path \
${systemd_system_unitdir}/systemd-ask-password-console.path \
${systemd_system_unitdir}/systemd-ask-password-console.service \
${systemd_system_unitdir}/systemd-ask-password-wall.path \
${systemd_system_unitdir}/systemd-ask-password-wall.service \
${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-console.path \
${systemd_system_unitdir}/sysinit.target.wants/systemd-ask-password-wall.path \
${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase.path \ ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase.path \
${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.path \ ${systemd_system_unitdir}/sysinit.target.wants/systemd-pcrphase-sysinit.path \
${systemd_system_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path \
${nonarch_libdir}/systemd/systemd-resolve-host \ ${nonarch_libdir}/systemd/systemd-resolve-host \
${nonarch_libdir}/systemd/systemd-ac-power \ ${nonarch_libdir}/systemd/systemd-ac-power \
${nonarch_libdir}/systemd/systemd-activate \ ${nonarch_libdir}/systemd/systemd-activate \
${nonarch_libdir}/systemd/systemd-measure \ ${nonarch_libdir}/systemd/systemd-measure \
${nonarch_libdir}/systemd/systemd-pcrphase \ ${nonarch_libdir}/systemd/systemd-pcrphase \
${nonarch_libdir}/systemd/systemd-socket-proxyd \ ${nonarch_libdir}/systemd/systemd-socket-proxyd \
${nonarch_libdir}/systemd/systemd-reply-password \
${nonarch_libdir}/systemd/systemd-sleep \ ${nonarch_libdir}/systemd/systemd-sleep \
${nonarch_libdir}/systemd/system-sleep \ ${nonarch_libdir}/systemd/system-sleep \
${systemd_system_unitdir}/systemd-hibernate.service \ ${systemd_system_unitdir}/systemd-hibernate.service \