Lines 41-51
provide a very flexible device naming policy.
Link Here
|
41 |
создание динамического /dev, который бы допускал очень гибкую систему |
41 |
создание динамического /dev, который бы допускал очень гибкую систему |
42 |
правил наименования устройств. |
42 |
правил наименования устройств. |
43 |
|
43 |
|
|
|
44 |
%package hier |
45 |
Summary: Directories for udev rules |
46 |
Group: System/Configuration/Hardware |
47 |
Provides: %_sysconfdir/udev/rules.d |
48 |
Provides: /lib/udev/rules.d |
49 |
|
50 |
%description hier |
51 |
This package holds the ownership on directories with %name rules. |
52 |
It does not require any other packages, so it may be safely kept |
53 |
on the systems without %name itself. |
54 |
|
44 |
%package rules |
55 |
%package rules |
45 |
Summary: Rule files for udev |
56 |
Summary: Rule files for udev |
46 |
Summary(ru_RU.UTF-8): Файлы правил для udev |
57 |
Summary(ru_RU.UTF-8): Файлы правил для udev |
47 |
Group: System/Configuration/Hardware |
58 |
Group: System/Configuration/Hardware |
48 |
Provides: %_sysconfdir/udev/rules.d |
59 |
Requires: %name-hier = %version-%release |
49 |
Provides: %_sysconfdir/udev/initramfs-rules.d |
60 |
Provides: %_sysconfdir/udev/initramfs-rules.d |
50 |
Conflicts: %name < %version-%release |
61 |
Conflicts: %name < %version-%release |
51 |
|
62 |
|
Lines 257-268
mkdir -p %buildroot/usr/lib/hotplug/firmware
Link Here
|
257 |
%dir /usr/lib/hotplug |
268 |
%dir /usr/lib/hotplug |
258 |
%dir /usr/lib/hotplug/firmware |
269 |
%dir /usr/lib/hotplug/firmware |
259 |
|
270 |
|
260 |
%files rules |
271 |
%files hier |
261 |
%dir %_sysconfdir/udev |
272 |
%dir %_sysconfdir/udev |
262 |
%dir %_sysconfdir/udev/rules.d |
273 |
%dir %_sysconfdir/udev/rules.d |
|
|
274 |
%dir /lib/udev/rules.d |
275 |
|
276 |
%files rules |
263 |
%config %_sysconfdir/udev/rules.d/* |
277 |
%config %_sysconfdir/udev/rules.d/* |
264 |
%_sysconfdir/udev/initramfs-rules.d |
278 |
%_sysconfdir/udev/initramfs-rules.d |
265 |
/lib/udev/rules.d |
|
|
266 |
|
279 |
|
267 |
%files initramfs |
280 |
%files initramfs |
268 |
/lib/mkinitrd/udev |
281 |
/lib/mkinitrd/udev |