chiark / gitweb /
9e24144728e4d11b0a50f998880cc8937d922319
[elogind.git] / INSTALL
1 Usual options for udev installed in the root filesystem are:
2   ./configure
3     --prefix=/usr
4     --exec-prefix=
5     --sysconfdir=/etc
6 For 64bit multilib-installations also:
7     --with-libdir-name=lib64
8 For SELinux support:
9     --with-selinux
10
11 All options:
12   --prefix=
13       Prefix for man pages, include files.
14   --exec-prefix=
15       Prefix for libs, binaries, usually the root filesystem.
16   --with-udev-prefix=
17       Prefix for internal udev path names, like /dev/, /lib/udev/.
18       Only useful for testing and development installations. The
19       value is copied from exec-prefix, if not specified otherwise.
20   --sysconfdir=
21       Usually /etc.
22   --with-libdir-name=
23       Directory name for libraries. This is not a path name.
24   --enable-debug
25       Compile-in verbose debug messages. Usually not needed,
26       it increases the size of the binaries.
27   --disable-logging
28       Disable all logging and compile-out all log strings. This
29       is not recommended, as it makes it almost impossible to debug
30       udev in the running system.
31   --with-selinux
32       Link against SELInux libraries to set the expected context
33       for created files.
34   --enable-extras
35       Build extras with larger external dependencies like glib,
36       libacl, libusb, ...
37
38 The options used in a RPM spec file usually look like:
39   --prefix=%{_prefix}
40   --exec-prefix=
41   --sysconfdir=%{_sysconfdir}
42   --with-libdir-name=%{_lib}
43   --with-selinux
44   --enable-extras
45
46 The defined location for scripts and binaries which are called
47 from rules is /lib/udev/ on all systems and architectures. Any
48 other location will break other packages, who rightfully expect
49 the /lib/udev/ directory, to install their rule helper and udev
50 rule files.
51
52 It is recommended to use the /lib/udev/devices/ directory to place
53 device nodes, directories and symlinks, which are copied to /dev/
54 at every bootup. That way, nodes for devices which can not be
55 detected automatically, or are activated on-demand by opening the
56 pre-existing device node, will be available.
57
58 Default udev rules and persistent device naming rules are required
59 by other software that depends on the data udev collects from the
60 devices, and should therefore be installed by default with every udev
61 installation.