summaryrefslogtreecommitdiff
path: root/extra/eudev
diff options
context:
space:
mode:
Diffstat (limited to 'extra/eudev')
-rw-r--r--extra/eudev/default-rules.patch9
-rw-r--r--extra/eudev/load-fbcon.patch10
-rw-r--r--extra/eudev/udev.initd22
-rw-r--r--extra/eudev/udev_retry.initd31
4 files changed, 0 insertions, 72 deletions
diff --git a/extra/eudev/default-rules.patch b/extra/eudev/default-rules.patch
deleted file mode 100644
index 0786a98..0000000
--- a/extra/eudev/default-rules.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/rules/50-udev-default.rules
-+++ b/rules/50-udev-default.rules
-@@ -73,5 +73,6 @@ KERNEL=="rfkill", MODE="0664"
- KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
-
- KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
-+KERNEL=="kvm", GROUP="kvm", MODE="0660"
-
- LABEL="default_end"
diff --git a/extra/eudev/load-fbcon.patch b/extra/eudev/load-fbcon.patch
deleted file mode 100644
index e5e404a..0000000
--- a/extra/eudev/load-fbcon.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- eudev-3.2.1/rules/80-drivers.rules.orig 2017-01-24 11:00:53.174192908 +0200
-+++ eudev-3.2.1/rules/80-drivers.rules 2017-01-24 11:04:01.886714118 +0200
-@@ -8,6 +8,7 @@
- SUBSYSTEM=="memstick", RUN{builtin}+="kmod load ms_block mspro_block"
- SUBSYSTEM=="i2o", RUN{builtin}+="kmod load i2o_block"
- SUBSYSTEM=="module", KERNEL=="parport_pc", RUN{builtin}+="kmod load ppdev"
-+SUBSYSTEM=="graphics", RUN{builtin}+="kmod load fbcon"
- KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN{builtin}+="kmod load sm_ftl"
-
- LABEL="drivers_end"
diff --git a/extra/eudev/udev.initd b/extra/eudev/udev.initd
deleted file mode 100644
index 5ce2354..0000000
--- a/extra/eudev/udev.initd
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-
-start () {
- # Start the udev daemon to continually watch for, and act on,
- # uevents
- /sbin/udevd --daemon
-
- # Now traverse /sys in order to "coldplug" devices that have
- # already been discovered
- /sbin/udevadm trigger --action=add --type=subsystems
- /sbin/udevadm trigger --action=add --type=devices
- /sbin/udevadm trigger --action=change --type=devices
-
- # Now wait for udevd to process the uevents we triggered
- if ! is_true "$OMIT_UDEV_SETTLE"; then
- /sbin/udevadm settle
- fi
-
- # If any LVM based partitions are on the system, ensure they
- # are activated so they can be used.
- if [ -x /sbin/vgchange ]; then /sbin/vgchange -a y >/dev/null; fi
-}
diff --git a/extra/eudev/udev_retry.initd b/extra/eudev/udev_retry.initd
deleted file mode 100644
index cfe077c..0000000
--- a/extra/eudev/udev_retry.initd
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/sbin/openrc-run
-start () {
- echo "Retrying failed uevents, if any..."
-
- # As of udev-186, the --run option is no longer valid
- #rundir=$(/sbin/udevadm info --run)
- rundir=/run/udev
- # From Debian: "copy the rules generated before / was mounted
- # read-write":
-
- for file in ${rundir}/tmp-rules--*; do
- dest=${file##*tmp-rules--}
- [ "$dest" = '*' ] && break
- cat $file >> /etc/udev/rules.d/$dest
- rm -f $file
- done
-
- # Re-trigger the uevents that may have failed,
- # in hope they will succeed now
- /bin/sed -e 's/#.*$//' /etc/sysconfig/udev_retry | /bin/grep -v '^$' | \
- while read line ; do
- for subsystem in $line ; do
- /sbin/udevadm trigger --subsystem-match=$subsystem --action=add
- done
- done
-
- # Now wait for udevd to process the uevents we triggered
- if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then
- /sbin/udevadm settle
- fi
-}