Bruno Bottazzini <[email protected]>
writes:
> +PACKAGES =+ "${PN}-services-ask-password"
> +SUMMARY_${PN}-services-ask-password = "systemd's service and tool to
> query the user for a system password"
> +RRECOMMENDS_${PN}-services-ask-password = "${PN}-services-base"
> +FILES_${PN}-services-ask-password = "\
> + ${rootprefix}/bin/systemd-ask-password \
> + ${rootprefix}/bin/systemd-tty-ask-password-agent \
> +
> ${systemd_unitdir}/system/multi-user.target.wants/systemd-ask-password-wall.path
> \
> +
> ${systemd_unitdir}/system/sysinit.target.wants/systemd-ask-password-console.path
> \
> + ${systemd_unitdir}/system/systemd-ask-password-console.path \
> + ${systemd_unitdir}/system/systemd-ask-password-console.service \
> + ${systemd_unitdir}/system/systemd-ask-password-wall.path \
> + ${systemd_unitdir}/system/systemd-ask-password-wall.service \
> +"
I think, enumerating services in this kind becomes a maintenance
nightmare. E.g. you have to check for every future systemd version
whether service gets listed in a new .wants. Using wildcards can
simplify this; e.g. see systemd_elito_populate_packages() in
https://www.cvg.de/people/ensc/systemd_216.bbappend
Enrico
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core