chiark / gitweb /
add .vimrc
[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 \
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 \
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     --prefix=%{_prefix} \
24     --with-rootprefix= \
25     --sysconfdir=%{_sysconfdir} \
26     --bindir=/sbin \
27     --libdir=%{_libdir} \
28     --with-rootlibdir=/lib64 \
29     --libexecdir=/lib \
30     --with-systemdsystemunitdir=/lib/systemd/system \
31     --with-selinux
32
33 Some tools expect udevadm in 'sbin'. A symlink to udevadm in 'bin'
34 needs to be manually created if needed.
35
36 The defined location for scripts and binaries which are called
37 from rules is (/usr)/lib/udev/ on all systems and architectures. Any
38 other location will break other packages, who rightfully expect
39 the (/usr)/lib/udev/ directory, to install their rule helper and udev
40 rule files.
41
42 Default udev rules and persistent device naming rules may be required
43 by other software that depends on the data udev collects from the
44 devices.