]> git.ipfire.org Git - thirdparty/systemd.git/blob - INSTALL
configure: enable all extras by default, provide --disable-extras
[thirdparty/systemd.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 --disable-extras
35 Disable the build of extras with larger external dependencies
36 like glib, 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
45 The defined location for scripts and binaries which are called
46 from rules is /lib/udev/ on all systems and architectures. Any
47 other location will break other packages, who rightfully expect
48 the /lib/udev/ directory, to install their rule helper and udev
49 rule files.
50
51 It is recommended to use the /lib/udev/devices/ directory to place
52 device nodes, directories and symlinks, which are copied to /dev/
53 at every bootup. That way, nodes for devices which can not be
54 detected automatically, or are activated on-demand by opening the
55 pre-existing device node, will be available.
56
57 Default udev rules and persistent device naming rules are required
58 by other software that depends on the data udev collects from the
59 devices, and should therefore be installed by default with every udev
60 installation.