Commit Graph

10935 Commits

Author SHA1 Message Date
Boian Bonev
ed95424f74
Refuse to generate truncated USB modalias
In case of invalid input the resulting modalias would exceed the buffer and be
truncated. Add checks to avoid generating truncated modalias.
2022-06-08 08:20:08 +03:00
Boian Bonev
9f99dba5a0
Avoid buffer overrun with long version strings
This condition may happen with version as 3.2.12-pre1 which would generate
udev-3.2.12-pre1 with length of 17 including the terminating 0, while
struct udev_ctrl.version is only 16 bytes
2022-06-08 08:13:23 +03:00
Boian Bonev
49222bcc9c
Build and install hwdb.7 man page 2022-06-08 02:41:44 +03:00
Boian Bonev
f566c4ae32
Merge the generated man page 2022-06-06 16:30:50 +03:00
Boian Bonev
8bf47b7dfb
Prepare a pre-release of 3.2.12-pre1 2022-06-06 16:14:03 +03:00
Boian Bonev
639f6b25d3
Merge pull request #219 from bbonev/hwdb
Merge hwdb from systemd
2022-06-06 12:47:46 +03:00
Boian Bonev
e3e483ced5
Merge pull request #220 from bbonev/rules
Merge suitable rules changes from systemd
2022-06-06 12:47:30 +03:00
Boian Bonev
cd61841483
Merge pull request #223 from bbonev/precompiled_hwdb
Precompiled hwdb
2022-05-31 20:35:00 +03:00
Boian Bonev
68fd2f55c9
Merge pull request #221 from bbonev/hwdb.7
Hwdb.7
2022-05-31 17:50:31 +03:00
Boian Bonev
247724da45
Merge suitable rules changes from systemd
Merge up to commit 5674b74c4f99e433fd8e7242e9f16f6ddfece94c

- change @bindir@ to {{ROOTBINDIR}} in templates (better future tracking)
- keep rules/50-udev-default.rules as plain instead of template
- add
  60-autosuspend.rules
  60-fido-id.rules
  70-camera.rules
  70-memory.rules
  81-net-dhcp.rules
2022-05-26 19:31:43 +03:00
Boian Bonev
b11e438970
udev hwdb: Support shipping pre-compiled database in system images
From: Martin Pitt <martin.pitt@ubuntu.com>
Date: Fri, 17 Oct 2014 15:01:01 +0200
Subject: udev hwdb: Support shipping pre-compiled database in system images

In some cases it is preferable to ship system images with a pre-generated
binary hwdb database, to avoid having to build it at runtime, avoid shipping
the source hwdb files, or avoid storing large binary files in /etc.

So if hwdb.bin does not exist in /etc/udev/, fall back to looking for it in
UDEVLIBEXECDIR. This keeps the possibility to add files to /etc/udev/hwdb.d/
and re-generating the database which trumps the one in /usr/lib.

Add a new --usr flag to "udevadm hwdb --update" which puts the database
into UDEVLIBEXECDIR.

Adjust systemd-udev-hwdb-update.service to not generate the file in /etc if we
already have it in /usr.
Anto:
2022-05-26 19:25:56 +03:00
Boian Bonev
ce9d0aadfb
Use reproducible man page generation 2022-05-26 19:16:16 +03:00
Boian Bonev
322765fe74
Copy the missing man page from systemd
The respective systemd commits are not listed
2022-05-26 19:16:16 +03:00
Boian Bonev
95ab90723d
Keep the reproducible generated man pages in git 2022-05-26 19:16:16 +03:00
Boian Bonev
f2128f5e49
Rework custom man page template from systemd
- remove the non-reproducible top.comment section from the generated man pages
- do not change the other aspects of man page contents
2022-05-26 19:16:13 +03:00
Boian Bonev
6309427c50
Merge hwdb from systemd
All systemd's hwdb changes up to commit 5674b74c4f99e433fd8e7242e9f16f6ddfece94c
2022-05-26 11:18:11 +03:00
Boian Bonev
cf2012867a
Merge pull request #231 from akiernan/remove-g-i-r
build: Remove dead g-i-r configuration
2022-05-24 00:24:24 +05:30
Alex Kiernan
ccbe41e3b8 build: Remove dead g-i-r configuration
g-i-r support was removed in 2015 as part of removal of Gobject libudev
support, but the autoconf support wasn't removed but is dead.

Fixes: 252150e181 ("src/gudev: remove Gobject libudev support.")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
2022-05-20 18:19:15 +01:00
Boian Bonev
31089dc3de
Merge pull request #225 from oreo639/udev_dir
udev: add udev_dir as synonym of udevdir
2022-04-09 18:10:58 +03:00
Boian Bonev
381d129a64
Merge pull request #222 from bbonev/warn
Fix warnings
2022-04-09 18:05:40 +03:00
Boian Bonev
f0e5a20064
Merge pull request #224 from lu-zero/update-build-docs
Add the BUILD instructions for Gentoo
2022-04-09 18:04:24 +03:00
oreo639
9d9e802396 udev: add udev_dir as synonym of udevdir 2022-04-09 05:39:56 -07:00
Luca Barbato
796cd3e4db Add the BUILD instructions for Gentoo 2022-04-09 08:38:01 +02:00
Boian Bonev
f8eb1d45e7
Document the requirement of a modern cc 2022-04-09 04:11:31 +03:00
Boian Bonev
dce2732c37
Fix warnings 2022-04-06 06:55:28 +03:00
Boian Bonev
db3e14bc61
Add the missing xsltproc deps 2022-04-06 05:37:52 +03:00
Boian Bonev
eb4911d8c5
Add note to udev.conf that changes to that file require a rebuild of the initramfs
Based on debian/patches/udev_conf_comments from the old udev package.

systemd-commit: f6de1b02fe703f57cceb59922fde17385e7c4510
Author: Michael Biebl <biebl@debian.org>
Date:   Thu Jul 18 15:33:51 2013 +0200
2022-04-06 04:17:59 +03:00
Boian Bonev
985b9c0768
Fix spelling 2022-04-06 03:47:47 +03:00
Boian Bonev
d27c310316
Fix spelling 2022-04-06 03:47:40 +03:00
Boian Bonev
84af6532cd
Fix spelling 2022-04-06 03:47:31 +03:00
Boian Bonev
a250f6488e
Fix spelling 2022-04-06 03:47:20 +03:00
Boian Bonev
94d06a2f55
Fix spelling 2022-04-06 03:47:09 +03:00
Boian Bonev
28bf0bf7fc
Fix spelling 2022-04-06 03:46:57 +03:00
Boian Bonev
c23157fed2
Fix spelling 2022-04-06 03:39:43 +03:00
Ariadne Conill
931c8e91fd
Merge pull request #218 from dermotbradley/add-ptp-hyperv-rule
rules/50-udev-default.rules: add PTP entry for Hyper-V/Azure
2022-03-15 11:00:51 -05:00
Dermot Bradley
4e9b7892da rules/50-udev-default.rules: add PTP entry for Hyper-V/Azure
udev rules: add rule to create /dev/ptp_hyperv

As for the KVM case, necessary for network cards with
PTP devices when running a guest on HyperV

systemd-commit: 32e868f058da8b90add00b2958c516241c532b70
Author: Luca Boccassi <luca.boccassi@microsoft.com>
Date:   Fri Feb 26 10:25:31 2021 +0000
2022-03-13 19:37:05 +00:00
Boian Bonev
0a4dae19c1
Ignore configure~ 2021-12-14 21:57:01 +02:00
Boian Bonev
acbbfa8a94
Prefer usage of mallinfo2 over mallinfo 2021-12-14 21:56:06 +02:00
Boian Bonev
f8cf40cbc5
Prepare a release of 3.2.11 2021-12-14 21:43:36 +02:00
Boian Bonev
e9355a18ba
Avoid an abbreviation 2021-12-14 21:23:25 +02:00
Boian Bonev
de8fff3af4
Merge pull request #216 from Low-power/getrandom-powerpc
Add getrandom(2) system call number for PowerPC
2021-12-07 19:13:28 +02:00
WHR
d96876b09a Add getrandom(2) system call number for PowerPC 2021-12-07 14:15:43 +08:00
Boian Bonev
62575c66ea
Merge branch 'master' of github.com:eudev-project/eudev 2021-12-02 03:45:38 +02:00
Boian Bonev
639074e15b
Prepare a pre-release of 3.2.11-pre2 2021-12-02 03:45:02 +02:00
Boian Bonev
a6582ea35b
Merge pull request #215 from ArsenArsen/master
hwdb: sync with systemd/main
2021-12-02 03:20:15 +02:00
Arsen Arsenović
9b08e717b9
hwdb: sync with systemd/main 2021-12-01 21:21:46 +01:00
wwuck
c9517391af Update to latest Devuan stable
Devuan stable is now chimaera
2021-11-05 10:52:11 +00:00
Boian Bonev
02a3813f94
Ignore release tarball signature 2021-11-05 06:14:04 +02:00
Boian Bonev
1b10140b9f
Prepare a pre-release of 3.2.11-pre1 2021-11-05 05:04:31 +02:00
Boian Bonev
76cac07815
Fix style and wording
- unify email address formatting
- remove the email us as a group sentence
- convert Gentoo testing statement into past tense
2021-11-05 05:01:53 +02:00