[OE-core] [master][warrior][PATCH] systemd: Use PACKAGECONFIG definition to depend on libnss-myhostname
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Wed May 8 20:46:08 UTC 2019
*ping*
//Peter
> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org <openembedded-
> core-bounces at lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> Sent: den 12 april 2019 18:15
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [master][warrior][PATCH] systemd: Use PACKAGECONFIG
> definition to depend on libnss-myhostname
>
> Rather than adding the dependency on libnss-myhostname to
> RDEPENDS_${PN} if the myhostname PACKAGECONFIG is set, add the runtime
> dependency to myhostname's PACKAGECONFIG definition.
>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
> ---
>
> This is just a clean up of the last commit to systemd.
>
> meta/recipes-core/systemd/systemd_241.bb | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_241.bb b/meta/recipes-
> core/systemd/systemd_241.bb
> index 3a58f44a3b..562cdc3316 100644
> --- a/meta/recipes-core/systemd/systemd_241.bb
> +++ b/meta/recipes-core/systemd/systemd_241.bb
> @@ -144,7 +144,7 @@ PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4"
> PACKAGECONFIG[machined] = "-Dmachined=true,-Dmachined=false"
> PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native
> xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
> PACKAGECONFIG[microhttpd] = "-Dmicrohttpd=true,-
> Dmicrohttpd=false,libmicrohttpd"
> -PACKAGECONFIG[myhostname] = "-Dnss-myhostname=true,-Dnss-
> myhostname=false"
> +PACKAGECONFIG[myhostname] = "-Dnss-myhostname=true,-Dnss-
> myhostname=false,,libnss-myhostname"
> PACKAGECONFIG[networkd] = "-Dnetworkd=true,-Dnetworkd=false"
> PACKAGECONFIG[nss] = "-Dnss-systemd=true,-Dnss-systemd=false"
> PACKAGECONFIG[nss-mymachines] = "-Dnss-mymachines=true,-Dnss-
> mymachines=false"
> @@ -547,7 +547,6 @@ FILES_${PN}-dev += "${base_libdir}/security/*.la
> ${datadir}/dbus-1/interfaces/ $
> RDEPENDS_${PN} += "kmod dbus util-linux-mount util-linux-umount udev
> (= ${EXTENDPKGV}) util-linux-agetty util-linux-fsck"
> RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-
> getty-generator', '', 'systemd-serialgetty', d)}"
> RDEPENDS_${PN} += "volatile-binds update-rc.d systemd-conf"
> -RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'myhostname',
> 'libnss-myhostname', '', d)}"
>
> RRECOMMENDS_${PN} += "systemd-extra-utils \
> systemd-compat-units udev-hwdb \
> --
> 2.12.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list