GNU bug report logs -
#66099
[PATCH gnome-team 0/3] Update upower
Previous Next
Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>
Date: Tue, 19 Sep 2023 11:40:01 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Dear guix,
I find it surprising that we should rename /lib/udev/hwdb.d to
/lib/udev/hardware, but the impact is minimal (udevadm on Guix for the
udev-service-type relies only on UDEV_HWDB_PATH, which can accept /hardware
easily), and you insist, so, let’s do that.
I changed the installation directories for the packages I found with a grep
'hwdb.d', but I may have let some slip through.
I removed the publication of /etc/udev/hwdb.d in the udev service, because
these files would have the highest priority, so a user could not override
them. Since eudev is in the system profile, UDEV_HWDB_PATH is set with the
system profile hardware files anyway (not exactly all that compose
/etc/udev/hwdb.bin).
The VM works.
> > The hwdb.bin file used to be generated in <prefix>/etc/udev/hwdb.bin,
> > but since the sysconf dir is now directly /etc, the hwdb.bin index
> > will not be found under <prefix>/etc/udev/hwdb.bin.
> While we choose to do this via sysconfdir, the proper fix would be to read
> the path to the hwdb file from /etc/udev/udev.conf and fall back to
> $prefix/etc/udev/hwdb.bin if it's undefined. That saves us some hacks.
Unfortunately, eudev does not support this I think.
Vivien Kraus (7):
gnu: eudev: Update to 3.2.14.
services: udev: Rewrite udev-rule to use file->udev-rule.
services: udev: Make udev-rule helper functions generic.
gnu: udev-service-type: accept hardware description file extensions.
gnu: libgudev: Update to 238.
gnu: upower: Update to 1.90.2.
services: udev: Install hardware files in /lib/udev/hardware.
doc/guix.texi | 57 +++++++--
gnu/packages/freedesktop.scm | 2 +-
gnu/packages/gnome.scm | 43 ++++---
gnu/packages/libusb.scm | 8 +-
gnu/packages/linux.scm | 57 ++++++---
.../patches/eudev-rules-directory.patch | 9 +-
gnu/packages/xdisorg.scm | 9 +-
gnu/services/base.scm | 116 +++++++++++++-----
8 files changed, 215 insertions(+), 86 deletions(-)
base-commit: b18b2d13488f2a92331ccad2dc8cbb54ee15582f
--
2.41.0
This bug report was last modified 1 year and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.