Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer via buildroot <buildroot@buildroot.org>
To: Fiona Klute <fiona.klute@gmx.de>
Cc: buildroot@buildroot.org, Bernd Kuhls <bernd@kuhls.net>,
	Eric Le Bihan <eric.le.bihan.dev@free.fr>
Subject: Re: [Buildroot] [PATCH v2] package/eudev: bump version to 3.3.0
Date: Wed, 18 Nov 2026 13:10:28 +0100	[thread overview]
Message-ID: <20261118131028.4db44402@pc-1> (raw)
In-Reply-To: <297afb50-9c08-4c40-a4e1-fe8a541ff19b@gmx.de>

Hello Fiona,

On Wed, 18 Nov 2026 00:12:52 +0100, Fiona Klute <fiona.klute@gmx.de> wrote:

> Am 17.11.26 um 17:52 schrieb Peter Seiderer:
> > - bump version to 3.3.0 (for details see [1] and [2])
> > - disable new/optional systemd-hwdb (not needed on target/host)
> > - add '--enable-tpm2' for target and '--disable-tpm2' for host compile
> > - add new group 'clock' to common udev package ([3], [4])
> > 
> > [1] https://github.com/eudev-project/eudev/releases/tag/v3.3.0
> > [2] https://github.com/eudev-project/eudev/blob/v3.3.0/NEWS.md
> > [3] https://github.com/eudev-project/eudev/commit/bce05987bfea5cda8060f59159becb7de7353a46
> > [4] https://github.com/eudev-project/eudev/commit/82956a47e9191f4c1d8a8ceacaeaf1a9d7581847
> > 
> > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> > ---
> > Changes v1 -> v2:
> >   - disable systemd-hwdb
> >   - add '--enable-tpm2' for target and '--disable-tpm2' for host compile
> >     (as suggested by Fiona Klute)
> >   - add new group 'clock' to common udev package
> >     (as suggested by Fiona Klute)
> > 
> > Notes:
> >   - This version bump increases the target install size from 11.8 MB to
> >     14.0 MB (according to graph-size). See following (uncomplete) list of
> >     installed file size values:
> > 
> >     eudev-3.2.15                        eudev-3.3.0
> > 
> >     /lib/libudev.so.1.6.4  199K         /lib/libudev.so.1.7.15  339K
> >     /sbin/udevd            435K         /sbin/udevd             927K
> >     /usr/bin/udevadm       459K         /usr/bin/udevadm        979K
> >     /lib/udev/scsi_id      139K         /lib/udev/scsi_id       275K
> >     /lib/udev/cdrom_id     139K         /lib/udev/cdrom_id      271K
> > ---
> >   package/eudev/eudev.hash |  2 +-
> >   package/eudev/eudev.mk   | 10 +++++++---
> >   package/udev/udev.mk     |  1 +
> >   3 files changed, 9 insertions(+), 4 deletions(-)
> > 
> > diff --git a/package/eudev/eudev.hash b/package/eudev/eudev.hash
> > index 0e24957621..58aa19b695 100644
> > --- a/package/eudev/eudev.hash
> > +++ b/package/eudev/eudev.hash
> > @@ -1,3 +1,3 @@
> >   # Locally calculated
> > -sha256  eb69809fc0d1187f2463ab2149c53aa9f42a78e59f14ebea68eae6cb6b4fc1c3  eudev-3.2.15.tar.gz
> > +sha256  8fba6e4f49ea4b1938828a3c2e7cc48874816c68621386e527076b6477f5d6ef  eudev-3.3.0.tar.gz
> >   sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
> > diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk
> > index 0deb0e53c6..94634f4405 100644
> > --- a/package/eudev/eudev.mk
> > +++ b/package/eudev/eudev.mk
> > @@ -4,7 +4,7 @@
> >   #
> >   ################################################################################
> >   
> > -EUDEV_VERSION = 3.2.15
> > +EUDEV_VERSION = 3.3.0
> >   EUDEV_SITE = https://github.com/eudev-project/eudev/releases/download/v$(EUDEV_VERSION)
> >   EUDEV_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries)
> >   EUDEV_LICENSE_FILES = COPYING
> > @@ -14,7 +14,9 @@ EUDEV_CONF_OPTS = \
> >   	--disable-manpages \
> >   	--libexecdir=/lib \
> >   	--enable-kmod \
> > -	--enable-blkid
> > +	--enable-blkid \
> > +	--disable-systemd-hwdb \
> > +	--enable-tpm2  
> 
> I'm surprised there don't seem to be any dependencies, but it seems 
> correct. If it doesn't add much size I don't think we need a separate 
> option. :-)
> 
> >   # eudev requires only the util-linux libraries at build time
> >   EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux-libs
> > @@ -79,7 +81,9 @@ HOST_EUDEV_CONF_OPTS = \
> >   	--disable-manpages \
> >   	--disable-rule-generator \
> >   	--disable-selinux \
> > -	--enable-hwdb
> > +	--enable-hwdb \
> > +	--disable-systemd-hwdb \
> > +	--disable-tpm2
> >   
> >   define HOST_EUDEV_INSTALL_CMDS
> >   	$(INSTALL) -D -m 0755 $(@D)/src/udev/udevadm \
> > diff --git a/package/udev/udev.mk b/package/udev/udev.mk
> > index 3518e874a5..507c1b8022 100644
> > --- a/package/udev/udev.mk
> > +++ b/package/udev/udev.mk
> > @@ -6,6 +6,7 @@
> >   
> >   # Required by default rules
> >   define UDEV_USERS
> > +	- - clock -1 * - - - RTC/PTP device group
> >   	- - input -1 * - - - Input device group
> >   	- - kvm -1 * - - - kvm nodes
> >   	- - render -1 * - - - DRI rendering nodes  
> 
> That's not quite what I meant: Currently the clock group is defined by 
> package/systemd (see SYSTEMD_USERS in package/systemd/systemd.mk) for 
> systemd-udevd. Now eudev needs it, too. So it should be *moved* to the 
> shared UDEV_USERS definition, to avoid duplicating the definition 
> between package/eudev and package/systemd. Having it in both udev and 
> systemd would lead to a duplicate definition when using systemd as udev 
> provider.

Missed the package/systemd/systemd.mk entry for clock (was looking at
the 2026.08.x branch), will fix it...

> 
> So one patch that adds "clock" to UDEV_USERS (as above) and removes it 
> from SYSTEMD_USERS, and then the eudev update in a second patch.

Hope doing it in one patch (same as the last time see [1]) is o.k. too?

Regards,
Peter

[1] https://github.com/buildroot/buildroot/commit/f6c2c6a086ae1a5857f99514324ebf4038dab31a

> 
> Could you change that, please?
> 
> Best regards,
> Fiona
> 

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-11-18 12:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 16:52 [Buildroot] [PATCH v2] package/eudev: bump version to 3.3.0 Peter Seiderer via buildroot
2026-11-17 23:12 ` Fiona Klute via buildroot
2026-11-18 12:10   ` Peter Seiderer via buildroot [this message]

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=20261118131028.4db44402@pc-1 \
    --to=buildroot@buildroot.org \
    --cc=bernd@kuhls.net \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=fiona.klute@gmx.de \
    --cc=ps.report@gmx.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox