chiark / gitweb /
builtin: kmod - link against libkmod
[elogind.git] / INSTALL
1 The options used used usually look like:
2   %configure \
3     --prefix=/usr \
4     --sysconfdir=/etc \
5     --bindir=/usr/bin \
6     --libdir=/usr/lib64 \
7     --libexecdir=/usr/lib/udev \
8     --with-systemdsystemunitdir=/usr/lib/systemd/system \
9     --with-selinux
10
11 The options used in a RPM spec file look like:
12   %configure \
13     --prefix=%{_prefix} \
14     --sysconfdir=%{_sysconfdir} \
15     --bindir=%{_bindir} \
16     --libdir=%{_libdir} \
17     --libexecdir=%{_prefix}/lib/udev \
18     --with-systemdsystemunitdir=%{_prefix}/lib/systemd/system \
19     --with-selinux
20
21 The options to install udev in the rootfs instead of /usr,
22 and udevadm in /sbin:
23     --bindir=/sbin
24     --libexecdir=/lib/udev
25     --with-systemdsystemunitdir=/lib/systemd/system
26     --with-rootlibdir=/lib64
27
28 Some tools expect udevadm in 'sbin'. A symlink to udevadm in 'bin'
29 needs to be manually created if needed.
30
31 The defined location for scripts and binaries which are called
32 from rules is /usr/lib/udev/ on all systems and architectures. Any
33 other location will break other packages, who rightfully expect
34 the /usr/lib/udev/ directory, to install their rule helper and udev
35 rule files.
36
37 It is possible to use the /usr/lib/udev/devices/ directory to place
38 device nodes, directories and symlinks, which are copied to /dev/
39 at every bootup. That way, nodes for devices which can not be
40 detected automatically, or are activated on-demand by opening the
41 pre-existing device node, will be available.
42
43 Default udev rules and persistent device naming rules may be required
44 by other software that depends on the data udev collects from the
45 devices.