summaryrefslogtreecommitdiff
path: root/source/a/eudev/0001-Remove-obsolete-udev_root-references.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/eudev/0001-Remove-obsolete-udev_root-references.patch')
-rw-r--r--source/a/eudev/0001-Remove-obsolete-udev_root-references.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/source/a/eudev/0001-Remove-obsolete-udev_root-references.patch b/source/a/eudev/0001-Remove-obsolete-udev_root-references.patch
new file mode 100644
index 00000000..e09f82e0
--- /dev/null
+++ b/source/a/eudev/0001-Remove-obsolete-udev_root-references.patch
@@ -0,0 +1,68 @@
+From 26b8f53163c0efd9c638f9798bb8e36be2a3d719 Mon Sep 17 00:00:00 2001
+From: Robby Workman <rworkman@slackware.com>
+Date: Sun, 15 Nov 2015 15:07:37 -0600
+Subject: [PATCH] Remove obsolete udev_root references
+
+This was removed in 6ada823a9a0979ea145fd70add1007c21caa45c0
+---
+ man/udev.7 | 5 -----
+ man/udev.xml | 7 -------
+ test/udev-test.pl | 8 --------
+ 3 files changed, 20 deletions(-)
+
+diff --git a/man/udev.7 b/man/udev.7
+index b54683d..293f404 100644
+--- a/man/udev.7
++++ b/man/udev.7
+@@ -515,11 +515,6 @@ The current name of the device\&. If not changed by a rule, it is the name of th
+ A space\-separated list of the current symlinks\&. The value is only set during a remove event or if an earlier rule assigned a value\&.
+ .RE
+ .PP
+-\fB$root\fR, \fB%r\fR
+-.RS 4
+-The udev_root value\&.
+-.RE
+-.PP
+ \fB$sys\fR, \fB%S\fR
+ .RS 4
+ The sysfs mount point\&.
+diff --git a/man/udev.xml b/man/udev.xml
+index fd7df34..d1ade24 100644
+--- a/man/udev.xml
++++ b/man/udev.xml
+@@ -703,13 +703,6 @@
+ </varlistentry>
+
+ <varlistentry>
+- <term><option>$root</option>, <option>%r</option></term>
+- <listitem>
+- <para>The udev_root value.</para>
+- </listitem>
+- </varlistentry>
+-
+- <varlistentry>
+ <term><option>$sys</option>, <option>%S</option></term>
+ <listitem>
+ <para>The sysfs mount point.</para>
+diff --git a/test/udev-test.pl b/test/udev-test.pl
+index 14f11df..9a425bb 100755
+--- a/test/udev-test.pl
++++ b/test/udev-test.pl
+@@ -889,14 +889,6 @@ SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="%P-part-1"
+ EOF
+ },
+ {
+- desc => "udev_root substitution",
+- devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
+- exp_name => "start-/dev-end",
+- rules => <<EOF
+-SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="start-%r-end"
+-EOF
+- },
+- {
+ desc => "last_rule option",
+ devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
+ exp_name => "last",
+--
+2.6.3
+