Lines 41-47
Link Here
|
41 |
|
41 |
|
42 |
# Make sure there is no sudden changes to udev.rules.devfs |
42 |
# Make sure there is no sudden changes to udev.rules.devfs |
43 |
# (more for my own needs than anything else ...) |
43 |
# (more for my own needs than anything else ...) |
44 |
if [ "`md5sum < "${S}/udev.rules.devfs"`" != \ |
44 |
if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \ |
45 |
"a16769804b6038c7def00012c47b84c5 -" ] |
45 |
"a16769804b6038c7def00012c47b84c5 -" ] |
46 |
then |
46 |
then |
47 |
echo |
47 |
echo |
Lines 63-82
Link Here
|
63 |
ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux |
63 |
ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux |
64 |
fi |
64 |
fi |
65 |
|
65 |
|
66 |
# Improve ide devfs symlink stuff |
|
|
67 |
epatch ${FILESDIR}/${P}-ide-devfs.patch |
68 |
# Some quoting/brace fixes |
69 |
epatch ${FILESDIR}/${P}-ide-devfs-form-fixes.patch |
70 |
|
71 |
# Do not sleep if UDEV_NO_SLEEP is set |
66 |
# Do not sleep if UDEV_NO_SLEEP is set |
72 |
epatch ${FILESDIR}/${P}-no-wait-for-sleep.patch |
67 |
epatch ${FILESDIR}/${P}-no-wait-for-sleep.patch |
73 |
|
68 |
|
74 |
# First unlink an existing file/symlink/node/fifo/socket *before* |
|
|
75 |
# we create a symlink, else it will fail. |
76 |
epatch ${FILESDIR}/${P}-unlink-before-symlink.patch |
77 |
|
78 |
# Fix gcc-2.95.3 compat, bug #36556 |
79 |
epatch ${FILESDIR}/${P}-namedev_c-gcc295-compat.patch |
80 |
} |
69 |
} |
81 |
|
70 |
|
82 |
src_compile() { |
71 |
src_compile() { |
Lines 103-114
Link Here
|
103 |
|
92 |
|
104 |
insinto /etc/udev |
93 |
insinto /etc/udev |
105 |
doins ${FILESDIR}/udev.conf |
94 |
doins ${FILESDIR}/udev.conf |
106 |
# newins udev.rules udev.rules.example |
95 |
newins etc/udev/udev.rules.gentoo udev.rules |
107 |
# For devfs style layout |
96 |
newins etc/udev/udev.permissions.gentoo udev.permissions |
108 |
doins ${FILESDIR}/udev.rules |
|
|
109 |
# Our own custom udev.permissions |
110 |
doins ${FILESDIR}/udev.permissions |
111 |
# doins udev.permissions |
112 |
insinto /etc |
97 |
insinto /etc |
113 |
doins extras/scsi_id/scsi_id.config |
98 |
doins extras/scsi_id/scsi_id.config |
114 |
|
99 |
|