2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

libudev-zero: 1.0.0

This commit is contained in:
Dylan Araps 2021-08-29 06:58:28 +03:00
parent 2d8a7b9808
commit b4a47e94c8
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
4 changed files with 38 additions and 8 deletions

View File

@ -14,8 +14,10 @@ ________________________________________________________________________________
* Installation ........................................................... [001]
* Setup .................................................................. [002]
* Usage .................................................................. [003]
* References ............................................................. [004]
* Configure mdev For Hotplugging ....................................... [003]
* Configure mdevd For Hotplugging ...................................... [004]
* Usage .................................................................. [005]
* References ............................................................. [006]
[001] Installation
@ -32,17 +34,37 @@ ________________________________________________________________________________
________________________________________________________________________________
If using mdev or mdevd (with the default configuration files), libudev-zero will
automatically be used once installed.
automatically be used once installed. If not, the following configuration must
be done for hotplugging to work.
[003] Usage
--[003] Configure mdev For Hotplugging -----------------------------------------
Add the folllowing to your /etc/mdev.conf.
+----------------------------------------------------------------------------+
| |
| SUBSYSTEM=drm;.* root:video 660 *libudev-zero-helper |
| SUBSYSTEM=input;.* root:input 660 *libudev-zero-helper |
| |
+----------------------------------------------------------------------------+
--[004] Configure mdevd For Hotplugging ----------------------------------------
Ensure that mdevd is started with the flags '-O 4'. This will make the daemon
rebroadcast kernel uevents to libudev-zero. The distribution's default service
runs mdevd with these flags.
[005] Usage
________________________________________________________________________________
Refer to the FreeDesktop libudev documentation for library information. Refer
to the project's upstream for more information.
[004] References
[006] References
________________________________________________________________________________
[0] https://github.com/illiliti/libudev-zero

View File

@ -1,4 +1,12 @@
#!/bin/sh -e
#!/bin/sh -ef
make PREFIX=/usr
make PREFIX=/usr install
mkdir -p "$1/usr/bin"
# Intentional, globbing disabled.
# shellcheck disable=2086
"$CC" -static $LDFLAGS $CFLAGS $CPPFLAGS \
-o "$1/usr/bin/libudev-zero-helper" contrib/helper.c

View File

@ -1 +1 @@
23f1046f13403ec217665193e78dad6cdb0af54e105a9aaf8440a846e66a1d62
68c20aefd7aa89abe446cf5ec76f5846315ded719f0665eabed9261cc3c7f47a

View File

@ -1 +1 @@
0.5.2 1
1.0.0 1