source:
patches/udev-124-lib64-2.patch@
2e9a7f5
Last change on this file since 2e9a7f5 was 3f79d3c, checked in by , 16 years ago | |
---|---|
|
|
File size: 9.9 KB |
-
etc/udev/rules.d/50-udev-default.rules
Submitted By: Jim Gifford <jim@linuxfromscratch.org> Date: 2008-07-07 Upstream Status: CLFS Specific Origin: Jim Gifford Description: Change /lib/udev to /lib64/udev diff -Naur udev-124.orig/etc/udev/rules.d/50-udev-default.rules udev-124/etc/udev/rules.d/50-udev-default.rules
old new 103 103 KERNEL=="iowarrior[0-9]*", NAME="usb/%k" 104 104 105 105 # do not delete static device nodes 106 ACTION=="remove", NAME=="?*", TEST=="/lib /udev/devices/$name", OPTIONS+="ignore_remove"106 ACTION=="remove", NAME=="?*", TEST=="/lib64/udev/devices/$name", OPTIONS+="ignore_remove" 107 107 -
extras/ata_id/Makefile
diff -Naur udev-124.orig/extras/ata_id/Makefile udev-124/extras/ata_id/Makefile
old new 16 16 sbindir = ${prefix}/sbin 17 17 usrbindir = ${prefix}/usr/bin 18 18 usrsbindir = ${prefix}/usr/sbin 19 libudevdir = ${prefix}/lib /udev19 libudevdir = ${prefix}/lib64/udev 20 20 mandir = ${prefix}/usr/share/man 21 21 configdir = ${etcdir}/udev/ 22 22 -
extras/cdrom_id/Makefile
diff -Naur udev-124.orig/extras/cdrom_id/Makefile udev-124/extras/cdrom_id/Makefile
old new 16 16 sbindir = ${prefix}/sbin 17 17 usrbindir = ${prefix}/usr/bin 18 18 usrsbindir = ${prefix}/usr/sbin 19 libudevdir = ${prefix}/lib /udev19 libudevdir = ${prefix}/lib64/udev 20 20 mandir = ${prefix}/usr/share/man 21 21 configdir = ${etcdir}/udev 22 22 -
extras/collect/Makefile
diff -Naur udev-124.orig/extras/collect/Makefile udev-124/extras/collect/Makefile
old new 11 11 sbindir = ${prefix}/sbin 12 12 usrbindir = ${prefix}/usr/bin 13 13 usrsbindir = ${prefix}/usr/sbin 14 libudevdir = ${prefix}/lib /udev14 libudevdir = ${prefix}/lib64/udev 15 15 mandir = ${prefix}/usr/share/man 16 16 configdir = ${etcdir}/udev/ 17 17 -
extras/edd_id/Makefile
diff -Naur udev-124.orig/extras/edd_id/Makefile udev-124/extras/edd_id/Makefile
old new 16 16 sbindir = ${prefix}/sbin 17 17 usrbindir = ${prefix}/usr/bin 18 18 usrsbindir = ${prefix}/usr/sbin 19 libudevdir = ${prefix}/lib /udev19 libudevdir = ${prefix}/lib64/udev 20 20 mandir = ${prefix}/usr/share/man 21 21 configdir = ${etcdir}/udev/ 22 22 -
extras/firmware/firmware.sh
diff -Naur udev-124.orig/extras/firmware/firmware.sh udev-124/extras/firmware/firmware.sh
old new 1 1 #!/bin/sh -e 2 2 3 FIRMWARE_DIRS="/lib /firmware /usr/local/lib/firmware"3 FIRMWARE_DIRS="/lib64/firmware /lib/firmware /usr/local/lib64/firmware /usr/local/lib/firmware" 4 4 5 5 err() { 6 6 echo "$@" >&2 -
extras/firmware/Makefile
diff -Naur udev-124.orig/extras/firmware/Makefile udev-124/extras/firmware/Makefile
old new 13 13 sbindir = ${prefix}/sbin 14 14 usrbindir = ${prefix}/usr/bin 15 15 usrsbindir = ${prefix}/usr/sbin 16 libudevdir = ${prefix}/lib /udev16 libudevdir = ${prefix}/lib64/udev 17 17 mandir = ${prefix}/usr/share/man 18 18 configdir = ${etcdir}/udev/ 19 19 -
extras/floppy/Makefile
diff -Naur udev-124.orig/extras/floppy/Makefile udev-124/extras/floppy/Makefile
old new 16 16 sbindir = ${prefix}/sbin 17 17 usrbindir = ${prefix}/usr/bin 18 18 usrsbindir = ${prefix}/usr/sbin 19 libudevdir = ${prefix}/lib /udev19 libudevdir = ${prefix}/lib64/udev 20 20 mandir = ${prefix}/usr/share/man 21 21 configdir = ${etcdir}/udev/ 22 22 -
extras/fstab_import/Makefile
diff -Naur udev-124.orig/extras/fstab_import/Makefile udev-124/extras/fstab_import/Makefile
old new 16 16 sbindir = ${prefix}/sbin 17 17 usrbindir = ${prefix}/usr/bin 18 18 usrsbindir = ${prefix}/usr/sbin 19 libudevdir = ${prefix}/lib /udev19 libudevdir = ${prefix}/lib64/udev 20 20 mandir = ${prefix}/usr/share/man 21 21 configdir = ${etcdir}/udev/ 22 22 -
extras/path_id/Makefile
diff -Naur udev-124.orig/extras/path_id/Makefile udev-124/extras/path_id/Makefile
old new 13 13 sbindir = ${prefix}/sbin 14 14 usrbindir = ${prefix}/usr/bin 15 15 usrsbindir = ${prefix}/usr/sbin 16 libudevdir = ${prefix}/lib /udev16 libudevdir = ${prefix}/lib64/udev 17 17 mandir = ${prefix}/usr/share/man 18 18 configdir = ${etcdir}/udev/ 19 19 -
extras/rule_generator/Makefile
diff -Naur udev-124.orig/extras/rule_generator/Makefile udev-124/extras/rule_generator/Makefile
old new 13 13 sbindir = ${prefix}/sbin 14 14 usrbindir = ${prefix}/usr/bin 15 15 usrsbindir = ${prefix}/usr/sbin 16 libudevdir = ${prefix}/lib /udev16 libudevdir = ${prefix}/lib64/udev 17 17 mandir = ${prefix}/usr/share/man 18 18 configdir = ${etcdir}/udev 19 19 -
extras/rule_generator/write_cd_rules
diff -Naur udev-124.orig/extras/rule_generator/write_cd_rules udev-124/extras/rule_generator/write_cd_rules
old new 13 13 14 14 RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules" 15 15 16 . /lib /udev/rule_generator.functions16 . /lib64/udev/rule_generator.functions 17 17 18 18 find_next_available() { 19 19 raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")" -
extras/rule_generator/write_net_rules
diff -Naur udev-124.orig/extras/rule_generator/write_net_rules udev-124/extras/rule_generator/write_net_rules
old new 24 24 25 25 RULES_FILE='/etc/udev/rules.d/70-persistent-net.rules' 26 26 27 . /lib /udev/rule_generator.functions27 . /lib64/udev/rule_generator.functions 28 28 29 29 interface_name_taken() { 30 30 local value="$(find_all_rules 'NAME=' $INTERFACE)" -
extras/scsi_id/Makefile
diff -Naur udev-124.orig/extras/scsi_id/Makefile udev-124/extras/scsi_id/Makefile
old new 19 19 sbindir = ${prefix}/sbin 20 20 usrbindir = ${prefix}/usr/bin 21 21 usrsbindir = ${prefix}/usr/sbin 22 libudevdir = ${prefix}/lib /udev22 libudevdir = ${prefix}/lib64/udev 23 23 mandir = ${prefix}/usr/share/man 24 24 configdir = ${etcdir}/udev/ 25 25 -
extras/usb_id/Makefile
diff -Naur udev-124.orig/extras/usb_id/Makefile udev-124/extras/usb_id/Makefile
old new 16 16 sbindir = ${prefix}/sbin 17 17 usrbindir = ${prefix}/usr/bin 18 18 usrsbindir = ${prefix}/usr/sbin 19 libudevdir = ${prefix}/lib /udev19 libudevdir = ${prefix}/lib64/udev 20 20 mandir = ${prefix}/usr/share/man 21 21 configdir = ${etcdir}/udev/ 22 22 -
extras/volume_id/lib/Makefile
diff -Naur udev-124.orig/extras/volume_id/lib/Makefile udev-124/extras/volume_id/lib/Makefile
old new 5 5 # Released under the GNU General Public License, version 2. 6 6 # 7 7 includedir = ${prefix}/usr/include 8 libdir = ${prefix}/lib 9 usrlibdir = ${prefix}/usr/lib 8 libdir = ${prefix}/lib64 9 usrlibdir = ${prefix}/usr/lib64 10 10 11 11 INSTALL = install -c 12 12 INSTALL_DATA = ${INSTALL} -m 644 -
extras/volume_id/Makefile
diff -Naur udev-124.orig/extras/volume_id/Makefile udev-124/extras/volume_id/Makefile
old new 14 14 sbindir = ${prefix}/sbin 15 15 usrbindir = ${prefix}/usr/bin 16 16 usrsbindir = ${prefix}/usr/sbin 17 libudevdir = ${prefix}/lib /udev17 libudevdir = ${prefix}/lib64/udev 18 18 mandir = ${prefix}/usr/share/man 19 19 configdir = ${etcdir}/udev/ 20 20 -
Makefile
diff -Naur udev-124.orig/Makefile udev-124/Makefile
old new 88 88 etcdir = ${prefix}/etc 89 89 sbindir = ${prefix}/sbin 90 90 usrbindir = ${prefix}/usr/bin 91 libudevdir = ${prefix}/lib /udev91 libudevdir = ${prefix}/lib64/udev 92 92 mandir = ${prefix}/usr/share/man 93 93 configdir = ${etcdir}/udev 94 94 udevdir = /dev -
udev_rules.c
diff -Naur udev-124.orig/udev_rules.c udev-124/udev_rules.c
old new 172 172 } 173 173 } 174 174 175 /* allow programs in /lib /udev called without the path */175 /* allow programs in /lib64/udev called without the path */ 176 176 if (strchr(argv[0], '/') == NULL) { 177 strlcpy(program, "/lib /udev/", sizeof(program));177 strlcpy(program, "/lib64/udev/", sizeof(program)); 178 178 strlcat(program, argv[0], sizeof(program)); 179 179 argv[0] = program; 180 180 } -
udev_rules_parse.c
diff -Naur udev-124.orig/udev_rules_parse.c udev-124/udev_rules_parse.c
old new 447 447 if (pos) 448 448 pos[0] = '\0'; 449 449 450 /* allow programs in /lib /udev called without the path */450 /* allow programs in /lib64/udev called without the path */ 451 451 if (strchr(file, '/') == NULL) { 452 strlcpy(file, "/lib /udev/", sizeof(file));452 strlcpy(file, "/lib64/udev/", sizeof(file)); 453 453 strlcat(file, value, sizeof(file)); 454 454 pos = strchr(file, ' '); 455 455 if (pos)
Note:
See TracBrowser
for help on using the repository browser.