summaryrefslogtreecommitdiff
path: root/user/elogind/dracut_module.sh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-11-08 21:27:30 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-11-26 06:37:31 -0600
commit42661809c0c64125282bd7d247af58b2af1f42da (patch)
tree74df95be702a181893fd607d357e73a34c3b926f /user/elogind/dracut_module.sh
parent5b4daaa207e0168b6621c0f7a2997bc266502058 (diff)
downloadpackages-42661809c0c64125282bd7d247af58b2af1f42da.tar.gz
packages-42661809c0c64125282bd7d247af58b2af1f42da.tar.bz2
packages-42661809c0c64125282bd7d247af58b2af1f42da.tar.xz
packages-42661809c0c64125282bd7d247af58b2af1f42da.zip
user/elogind: Add dracut module for uaccess
We have the following in virtually all dmesg, on every bootup: [ 12.782588] systemd-udevd[369]: failed to execute '/lib/elogind/elogind-uaccess-command' '/lib/elogind/elogind-uaccess-command /dev/sr0 ': No such file or directory This is because: * Dracut renames eudev to systemd-udevd * Dracut copies the elogind udev rules to initramfs * The elogind udev rules add uaccess ACL support * uaccess ACL support requires a helper binary with eudev See also: https://github.com/elogind/elogind/pull/47 https://github.com/dracutdevs/dracut/issues/1909 https://github.com/fearedbliss/bliss-initramfs/issues/31
Diffstat (limited to 'user/elogind/dracut_module.sh')
-rwxr-xr-xuser/elogind/dracut_module.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/elogind/dracut_module.sh b/user/elogind/dracut_module.sh
new file mode 100755
index 000000000..c65bcadec
--- /dev/null
+++ b/user/elogind/dracut_module.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# called by dracut
+check() {
+ require_binaries /lib/elogind/elogind-uaccess-command
+}
+
+# called by dracut
+depends() {
+ echo base
+ return 0
+}
+
+# called by dracut
+install() {
+ inst /lib/elogind/elogind-uaccess-command
+}
+