Re: [OE-core] [PATCH 2/5] systemd: add package config for systemd-oomd

Khem Raj
2020-12-10T17:05:56Z

On 12/10/20 4:53 AM, Luca Bocassi wrote:
> From: Luca Boccassi <luca.boccassi@microsoft.com>
>
> Disabled by default
>
> Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
> ---
> meta/recipes-core/systemd/systemd_247.1.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-core/systemd/systemd_247.1.bb b/meta/recipes-core/systemd/systemd_247.1.bb
> index bf73630569..f20c2cffb7 100644
> --- a/meta/recipes-core/systemd/systemd_247.1.bb
> +++ b/meta/recipes-core/systemd/systemd_247.1.bb
> @@ -157,6 +157,7 @@ PACKAGECONFIG[networkd] = "-Dnetworkd=true,-Dnetworkd=false"
> PACKAGECONFIG[nss] = "-Dnss-systemd=true,-Dnss-systemd=false"
> PACKAGECONFIG[nss-mymachines] = "-Dnss-mymachines=true,-Dnss-mymachines=false"
> PACKAGECONFIG[nss-resolve] = "-Dnss-resolve=true,-Dnss-resolve=false"
> +PACKAGECONFIG[oomd] = "-Doomd=true,-Doomd=false"

I wonder if it should be packaged into its own package and built always
so someone interested can just add it their images instead of modifying
packageconfig if its an independent feature.

> PACKAGECONFIG[openssl] = "-Dopenssl=true,-Dopenssl=false,openssl"
> PACKAGECONFIG[pam] = "-Dpam=true,-Dpam=false,libpam,${PAM_PLUGINS}"
> PACKAGECONFIG[pcre2] = "-Dpcre2=true,-Dpcre2=false,libpcre2"
> @@ -565,6 +566,7 @@ FILES_${PN} = " ${base_bindir}/* \
> ${bindir}/resolvectl \
> ${bindir}/timedatectl \
> ${bindir}/bootctl \
> + ${bindir}/oomctl \
> ${exec_prefix}/lib/tmpfiles.d/*.conf \
> ${exec_prefix}/lib/systemd \
> ${exec_prefix}/lib/modules-load.d \
>
>
>
>
>