From 739c65c54cb0e957df5e9b76f93fb02554e5cac3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 4 May 2022 23:52:30 +0100 Subject: moved everything to new file formatting --- extra/eudev/default-rules.patch | 9 --------- extra/eudev/load-fbcon.patch | 10 ---------- extra/eudev/udev.initd | 22 ---------------------- extra/eudev/udev_retry.initd | 31 ------------------------------- 4 files changed, 72 deletions(-) delete mode 100644 extra/eudev/default-rules.patch delete mode 100644 extra/eudev/load-fbcon.patch delete mode 100644 extra/eudev/udev.initd delete mode 100644 extra/eudev/udev_retry.initd (limited to 'extra/eudev') 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 -} -- cgit v1.2.1