All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Peter Marko <peter.marko@siemens.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] systemd: add group render to udev package
Date: Thu, 10 Nov 2022 17:17:24 +0100	[thread overview]
Message-ID: <Y20kFKDvCiET6XBE@mail.local> (raw)
In-Reply-To: <20221108175154.280624-1-peter.marko@siemens.com>

Hello,

This causes the following failure:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/1839/steps/12/logs/stdio

ERROR: Nothing PROVIDES 'udev' (but /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-bsp/usbutils/usbutils_014.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.20.4.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-graphics/wayland/libinput_1.21.0.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-extended/mdadm/mdadm_4.2.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-support/libusb/libusb1_1.0.26.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-gnome/libgudev/libgudev_237.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-connectivity/ofono/ofono_2.0.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-multimedia/alsa/alsa-utils_1.2.8.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-multimedia/pulseaudio/pulseaudio_16.1.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-graphics/waffle/waffle_1.7.0.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-bsp/pciutils/pciutils_3.8.0.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-graphics/wayland/weston_11.0.0.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.1.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-connectivity/bluez5/bluez5_5.65.bb, /home/pokybuild/yocto-worker/reproducible/build/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb DEPENDS on or otherwise requires it)
systemd PROVIDES udev but was skipped: systemd - udev: system groupname render does not have a static ID defined. Add render to one of these files: /home/pokybuild/yocto-worker/reproducible/build/build-st/meta-selftest/files/static-group
eudev PROVIDES udev but was skipped: conflicting distro feature 'systemd' (in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'usbutils', 'udev']



On 08/11/2022 18:51:54+0100, Peter Marko wrote:
> From NEWS for v236:
> * The "uaccess" udev tag has been dropped from /dev/kvm and
>   /dev/dri/renderD*.  These devices now have the 0666 permissions by
>   default (but this may be changed at build-time). /dev/dri/renderD*
>   will now be owned by the "render" group along with /dev/kfd.
> 
> Without the group systemd-udevd startup logs:
>   /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
>   /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring
> 
> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> ---
>  meta/recipes-core/systemd/systemd_251.4.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-core/systemd/systemd_251.4.bb b/meta/recipes-core/systemd/systemd_251.4.bb
> index 1b771a7b86..5fb0e86982 100644
> --- a/meta/recipes-core/systemd/systemd_251.4.bb
> +++ b/meta/recipes-core/systemd/systemd_251.4.bb
> @@ -395,11 +395,13 @@ SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfm
>  SYSTEMD_SERVICE:${PN}-binfmt = "systemd-binfmt.service"
>  
>  USERADD_PACKAGES = "${PN} ${PN}-extra-utils \
> +                    udev \
>                      ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-gatewayd', '', d)} \
>                      ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-remote', '', d)} \
>                      ${@bb.utils.contains('PACKAGECONFIG', 'journal-upload', '${PN}-journal-upload', '', d)} \
>  "
>  GROUPADD_PARAM:${PN} = "-r systemd-journal;"
> +GROUPADD_PARAM:udev = "-r render"
>  GROUPADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', '-r systemd-hostname;', '', d)}"
>  USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'coredump', '--system -d / -M --shell /sbin/nologin systemd-coredump;', '', d)}"
>  USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'networkd', '--system -d / -M --shell /sbin/nologin systemd-network;', '', d)}"
> -- 
> 2.30.2
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#172987): https://lists.openembedded.org/g/openembedded-core/message/172987
> Mute This Topic: https://lists.openembedded.org/mt/94895791/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2022-11-10 16:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-08 17:51 [OE-core][PATCH] systemd: add group render to udev package Peter Marko
2022-11-10 16:17 ` Alexandre Belloni [this message]
2022-11-10 17:24   ` Marko, Peter
2022-11-13 14:33 ` [OE-core][PATCH v2 0/2] " Peter Marko
2022-11-13 14:33 ` [OE-core][PATCH v2 1/2] " Peter Marko
2022-11-13 14:33 ` [OE-core][PATCH v2 2/2] meta-selftest/staticids: add render group for systemd Peter Marko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y20kFKDvCiET6XBE@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=peter.marko@siemens.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.