[OE-core] [PATCH 1/2] util-linux: disable systemd
Khem Raj
raj.khem at gmail.com
Tue Feb 24 20:48:29 UTC 2015
> On Feb 24, 2015, at 10:07 AM, Ross Burton <ross.burton at intel.com> wrote:
>
> systemd has a build-dependency on util-linux for libmount, and util-linux has an
> optional build dependency on systemd.
>
> The features in util-linux that enabling systemd gives you are:
> * lslogins can show recent journal entries from the user
> * uuidd can use socket activation and has a service file
> * fstrim has a service file
> * logger can write journal entries
>
> These are not worth the overhead of maintaining two util-linux recipes to
> bootstrap the cycle, so disable systemd support in util-linux.
I feel we are going out of way here since now on systemd based systemd you have to undo this change
partly via re-introducing service files in some fashion
how about just building and packaging uuidd and fstrim separately ?
atleast it should be reported to util-linux maintainers.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> meta/recipes-core/util-linux/util-linux.inc | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
> index b4f51e9..3d8a4d0 100644
> --- a/meta/recipes-core/util-linux/util-linux.inc
> +++ b/meta/recipes-core/util-linux/util-linux.inc
> @@ -48,8 +48,7 @@ SHARED_EXTRA_OECONF = "--disable-use-tty-group \
>
> EXTRA_OECONF = "${SHARED_EXTRA_OECONF} --libdir=${base_libdir}"
>
> -PACKAGECONFIG_class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} "
> +PACKAGECONFIG_class-target ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
> PACKAGECONFIG[pam] = "--enable-su --enable-runuser,--disable-su --disable-runuser, libpam,"
>
> # Respect the systemd feature for uuidd
> @@ -117,7 +116,7 @@ RDEPENDS_${PN}_class-nativesdk = ""
>
> RPROVIDES_${PN}-dev = "util-linux-libblkid-dev util-linux-libmount-dev util-linux-libuuid-dev"
>
> -SYSTEMD_PACKAGES = "${PN}-uuidd ${PN}-fstrim"
> +#SYSTEMD_PACKAGES = "${PN}-uuidd ${PN}-fstrim"
> SYSTEMD_SERVICE_${PN}-uuidd = "uuidd.socket uuidd.service"
> SYSTEMD_AUTO_ENABLE_${PN}-uuidd = "disable"
> SYSTEMD_SERVICE_${PN}-fstrim = "fstrim.timer fstrim.service"
> --
> 1.7.10.4
>
> --
> _______________________________________________
> 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