source: patches/udev-118-lib64-1.patch@ 0f9d1e9

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0f9d1e9 was a60e4c5, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Updated Various branch update patches.

  • Property mode set to 100644
File size: 8.8 KB
RevLine 
[2271acc]1Submitted By: Jim Gifford <jim@linuxfromscratch.org>
[fab693d]2Date: 2007-09-01
[2c088b4]3Upstream Status: Unknown
4Origin: Jim Gifford
5Description: Change /lib/udev to /lib64/udev
6
[fab693d]7diff -Naur udev-115.orig/extras/ata_id/Makefile udev-115/extras/ata_id/Makefile
8--- udev-115.orig/extras/ata_id/Makefile 2007-08-23 16:29:54.000000000 -0700
9+++ udev-115/extras/ata_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]10@@ -16,7 +16,7 @@
11 sbindir = ${prefix}/sbin
12 usrbindir = ${prefix}/usr/bin
13 usrsbindir = ${prefix}/usr/sbin
14-libudevdir = ${prefix}/lib/udev
15+libudevdir = ${prefix}/lib64/udev
16 mandir = ${prefix}/usr/share/man
17 configdir = ${etcdir}/udev/
18
[fab693d]19diff -Naur udev-115.orig/extras/cdrom_id/Makefile udev-115/extras/cdrom_id/Makefile
20--- udev-115.orig/extras/cdrom_id/Makefile 2007-08-23 16:29:54.000000000 -0700
21+++ udev-115/extras/cdrom_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]22@@ -16,7 +16,7 @@
23 sbindir = ${prefix}/sbin
24 usrbindir = ${prefix}/usr/bin
25 usrsbindir = ${prefix}/usr/sbin
26-libudevdir = ${prefix}/lib/udev
27+libudevdir = ${prefix}/lib64/udev
28 mandir = ${prefix}/usr/share/man
[fab693d]29 configdir = ${etcdir}/udev
[2c088b4]30
[fab693d]31diff -Naur udev-115.orig/extras/collect/Makefile udev-115/extras/collect/Makefile
32--- udev-115.orig/extras/collect/Makefile 2007-08-23 16:29:54.000000000 -0700
33+++ udev-115/extras/collect/Makefile 2007-09-01 23:21:10.000000000 -0700
34@@ -11,7 +11,7 @@
[2c088b4]35 sbindir = ${prefix}/sbin
36 usrbindir = ${prefix}/usr/bin
37 usrsbindir = ${prefix}/usr/sbin
38-libudevdir = ${prefix}/lib/udev
39+libudevdir = ${prefix}/lib64/udev
40 mandir = ${prefix}/usr/share/man
41 configdir = ${etcdir}/udev/
42
[fab693d]43diff -Naur udev-115.orig/extras/edd_id/Makefile udev-115/extras/edd_id/Makefile
44--- udev-115.orig/extras/edd_id/Makefile 2007-08-23 16:29:54.000000000 -0700
45+++ udev-115/extras/edd_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]46@@ -16,7 +16,7 @@
47 sbindir = ${prefix}/sbin
48 usrbindir = ${prefix}/usr/bin
49 usrsbindir = ${prefix}/usr/sbin
50-libudevdir = ${prefix}/lib/udev
51+libudevdir = ${prefix}/lib64/udev
52 mandir = ${prefix}/usr/share/man
53 configdir = ${etcdir}/udev/
54
[fab693d]55diff -Naur udev-115.orig/extras/firmware/firmware.sh udev-115/extras/firmware/firmware.sh
56--- udev-115.orig/extras/firmware/firmware.sh 2007-08-23 16:29:54.000000000 -0700
57+++ udev-115/extras/firmware/firmware.sh 2007-09-01 23:23:42.000000000 -0700
[2271acc]58@@ -1,6 +1,6 @@
59 #!/bin/sh -e
60
61-FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware"
62+FIRMWARE_DIRS="/lib64/firmware /usr/local/lib64/firmware"
63
64 err() {
65 echo "$@" >&2
[fab693d]66diff -Naur udev-115.orig/extras/firmware/Makefile udev-115/extras/firmware/Makefile
67--- udev-115.orig/extras/firmware/Makefile 2007-08-23 16:29:54.000000000 -0700
68+++ udev-115/extras/firmware/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]69@@ -13,7 +13,7 @@
70 sbindir = ${prefix}/sbin
71 usrbindir = ${prefix}/usr/bin
72 usrsbindir = ${prefix}/usr/sbin
73-libudevdir = ${prefix}/lib/udev
74+libudevdir = ${prefix}/lib64/udev
75 mandir = ${prefix}/usr/share/man
76 configdir = ${etcdir}/udev/
77
[fab693d]78diff -Naur udev-115.orig/extras/floppy/Makefile udev-115/extras/floppy/Makefile
79--- udev-115.orig/extras/floppy/Makefile 2007-08-23 16:29:54.000000000 -0700
80+++ udev-115/extras/floppy/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]81@@ -16,7 +16,7 @@
82 sbindir = ${prefix}/sbin
83 usrbindir = ${prefix}/usr/bin
84 usrsbindir = ${prefix}/usr/sbin
85-libudevdir = ${prefix}/lib/udev
86+libudevdir = ${prefix}/lib64/udev
87 mandir = ${prefix}/usr/share/man
88 configdir = ${etcdir}/udev/
89
[fab693d]90diff -Naur udev-115.orig/extras/path_id/Makefile udev-115/extras/path_id/Makefile
91--- udev-115.orig/extras/path_id/Makefile 2007-08-23 16:29:54.000000000 -0700
92+++ udev-115/extras/path_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]93@@ -13,7 +13,7 @@
94 sbindir = ${prefix}/sbin
95 usrbindir = ${prefix}/usr/bin
96 usrsbindir = ${prefix}/usr/sbin
97-libudevdir = ${prefix}/lib/udev
98+libudevdir = ${prefix}/lib64/udev
99 mandir = ${prefix}/usr/share/man
100 configdir = ${etcdir}/udev/
101
[fab693d]102diff -Naur udev-115.orig/extras/rule_generator/Makefile udev-115/extras/rule_generator/Makefile
103--- udev-115.orig/extras/rule_generator/Makefile 2007-08-23 16:29:54.000000000 -0700
104+++ udev-115/extras/rule_generator/Makefile 2007-09-01 23:15:07.000000000 -0700
105@@ -13,7 +13,7 @@
[2c088b4]106 sbindir = ${prefix}/sbin
107 usrbindir = ${prefix}/usr/bin
108 usrsbindir = ${prefix}/usr/sbin
109-libudevdir = ${prefix}/lib/udev
110+libudevdir = ${prefix}/lib64/udev
111 mandir = ${prefix}/usr/share/man
[fab693d]112 configdir = ${etcdir}/udev
113
114diff -Naur udev-115.orig/extras/rule_generator/write_cd_rules udev-115/extras/rule_generator/write_cd_rules
115--- udev-115.orig/extras/rule_generator/write_cd_rules 2007-08-23 16:29:54.000000000 -0700
116+++ udev-115/extras/rule_generator/write_cd_rules 2007-09-01 23:15:07.000000000 -0700
117@@ -13,7 +13,7 @@
118
119 RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules"
[2c088b4]120
[fab693d]121-. /lib/udev/rule_generator.functions
122+. /lib64/udev/rule_generator.functions
123
124 find_next_available() {
125 raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")"
126diff -Naur udev-115.orig/extras/rule_generator/write_net_rules udev-115/extras/rule_generator/write_net_rules
127--- udev-115.orig/extras/rule_generator/write_net_rules 2007-08-23 16:29:54.000000000 -0700
128+++ udev-115/extras/rule_generator/write_net_rules 2007-09-01 23:15:07.000000000 -0700
129@@ -18,7 +18,7 @@
130
131 RULES_FILE='/etc/udev/rules.d/70-persistent-net.rules'
132
133-. /lib/udev/rule_generator.functions
134+. /lib64/udev/rule_generator.functions
135
136 interface_name_taken() {
137 local value="$(find_all_rules 'NAME=' $INTERFACE)"
138diff -Naur udev-115.orig/extras/scsi_id/Makefile udev-115/extras/scsi_id/Makefile
139--- udev-115.orig/extras/scsi_id/Makefile 2007-08-23 16:29:54.000000000 -0700
140+++ udev-115/extras/scsi_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]141@@ -19,7 +19,7 @@
142 sbindir = ${prefix}/sbin
143 usrbindir = ${prefix}/usr/bin
144 usrsbindir = ${prefix}/usr/sbin
145-libudevdir = ${prefix}/lib/udev
146+libudevdir = ${prefix}/lib64/udev
147 mandir = ${prefix}/usr/share/man
148 configdir = ${etcdir}/udev/
149
[fab693d]150diff -Naur udev-115.orig/extras/usb_id/Makefile udev-115/extras/usb_id/Makefile
151--- udev-115.orig/extras/usb_id/Makefile 2007-08-23 16:29:54.000000000 -0700
152+++ udev-115/extras/usb_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]153@@ -16,7 +16,7 @@
154 sbindir = ${prefix}/sbin
155 usrbindir = ${prefix}/usr/bin
156 usrsbindir = ${prefix}/usr/sbin
157-libudevdir = ${prefix}/lib/udev
158+libudevdir = ${prefix}/lib64/udev
159 mandir = ${prefix}/usr/share/man
160 configdir = ${etcdir}/udev/
161
[fab693d]162diff -Naur udev-115.orig/extras/volume_id/lib/Makefile udev-115/extras/volume_id/lib/Makefile
163--- udev-115.orig/extras/volume_id/lib/Makefile 2007-08-23 16:29:54.000000000 -0700
164+++ udev-115/extras/volume_id/lib/Makefile 2007-09-01 23:15:07.000000000 -0700
[2c088b4]165@@ -5,8 +5,8 @@
166 # Released under the GNU General Public License, version 2.
167 #
168 includedir = ${prefix}/usr/include
169-libdir = ${prefix}/lib
170-usrlibdir = ${prefix}/usr/lib
171+libdir = ${prefix}/lib64
172+usrlibdir = ${prefix}/usr/lib64
173
[fab693d]174 INSTALL = install -c
[2c088b4]175 INSTALL_DATA = ${INSTALL} -m 644
[fab693d]176diff -Naur udev-115.orig/extras/volume_id/Makefile udev-115/extras/volume_id/Makefile
177--- udev-115.orig/extras/volume_id/Makefile 2007-08-23 16:29:54.000000000 -0700
178+++ udev-115/extras/volume_id/Makefile 2007-09-01 23:15:07.000000000 -0700
[2271acc]179@@ -14,7 +14,7 @@
180 sbindir = ${prefix}/sbin
181 usrbindir = ${prefix}/usr/bin
182 usrsbindir = ${prefix}/usr/sbin
183-libudevdir = ${prefix}/lib/udev
184+libudevdir = ${prefix}/lib64/udev
185 mandir = ${prefix}/usr/share/man
186 configdir = ${etcdir}/udev/
187
[fab693d]188diff -Naur udev-115.orig/Makefile udev-115/Makefile
189--- udev-115.orig/Makefile 2007-08-23 16:29:54.000000000 -0700
190+++ udev-115/Makefile 2007-09-01 23:15:07.000000000 -0700
191@@ -94,7 +94,7 @@
[2271acc]192 sbindir = ${prefix}/sbin
193 usrbindir = ${prefix}/usr/bin
194 usrsbindir = ${prefix}/usr/sbin
195-libudevdir = ${prefix}/lib/udev
196+libudevdir = ${prefix}/lib64/udev
197 mandir = ${prefix}/usr/share/man
198 configdir = ${etcdir}/udev
199 udevdir = /dev
[fab693d]200diff -Naur udev-115.orig/udev_rules.c udev-115/udev_rules.c
201--- udev-115.orig/udev_rules.c 2007-08-23 16:29:54.000000000 -0700
202+++ udev-115/udev_rules.c 2007-09-01 23:19:11.000000000 -0700
203@@ -170,9 +170,9 @@
[2c088b4]204 }
205 }
206
207- /* allow programs in /lib/udev called without the path */
208+ /* allow programs in /lib64/udev called without the path */
209 if (strchr(argv[0], '/') == NULL) {
210- strlcpy(program, "/lib/udev/", sizeof(program));
211+ strlcpy(program, "/lib64/udev/", sizeof(program));
212 strlcat(program, argv[0], sizeof(program));
213 argv[0] = program;
214 }
[fab693d]215diff -Naur udev-115.orig/udev_rules_parse.c udev-115/udev_rules_parse.c
216--- udev-115.orig/udev_rules_parse.c 2007-08-23 16:29:54.000000000 -0700
217+++ udev-115/udev_rules_parse.c 2007-09-01 23:15:07.000000000 -0700
218@@ -445,9 +445,9 @@
219 if (pos)
220 pos[0] = '\0';
221
222- /* allow programs in /lib/udev called without the path */
223+ /* allow programs in /lib64/udev called without the path */
224 if (strchr(file, '/') == NULL) {
225- strlcpy(file, "/lib/udev/", sizeof(file));
226+ strlcpy(file, "/lib64/udev/", sizeof(file));
227 strlcat(file, value, sizeof(file));
228 pos = strchr(file, ' ');
229 if (pos)
Note: See TracBrowser for help on using the repository browser.