aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-12-25 20:41:52 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-12-25 20:41:52 +0100
commitdd8a93e0d8d4db1810e8d0bc438c19c97876b810 (patch)
treee6e390763de74d35c089914cbb4bc76a0ffbced1 /INSTALL
parent80df994cc22eb7f98187df9bc2281c7fd7b96af7 (diff)
downloadudev-dd8a93e0d8d4db1810e8d0bc438c19c97876b810.tar.gz
make: introduce --with-rootprefix=
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL23
1 files changed, 11 insertions, 12 deletions
diff --git a/INSTALL b/INSTALL
index 29620005..5fa900b1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -20,26 +20,25 @@ The options used in a RPM spec file look like:
The options to install udev in the rootfs instead of /usr,
and udevadm in /sbin:
- --bindir=/sbin
- --libexecdir=/lib/udev
- --with-systemdsystemunitdir=/lib/systemd/system
- --with-rootlibdir=/lib64
+ --prefix=%{_prefix} \
+ --with-rootprefix= \
+ --sysconfdir=%{_sysconfdir} \
+ --bindir=/sbin \
+ --libdir=%{_libdir} \
+ --with-rootlibdir=/lib64 \
+ --libexecdir=/lib/udev \
+ --with-systemdsystemunitdir=/lib/systemd/system \
+ --with-selinux
Some tools expect udevadm in 'sbin'. A symlink to udevadm in 'bin'
needs to be manually created if needed.
The defined location for scripts and binaries which are called
-from rules is /usr/lib/udev/ on all systems and architectures. Any
+from rules is (/usr)/lib/udev/ on all systems and architectures. Any
other location will break other packages, who rightfully expect
-the /usr/lib/udev/ directory, to install their rule helper and udev
+the (/usr)/lib/udev/ directory, to install their rule helper and udev
rule files.
-It is possible to use the /usr/lib/udev/devices/ directory to place
-device nodes, directories and symlinks, which are copied to /dev/
-at every bootup. That way, nodes for devices which can not be
-detected automatically, or are activated on-demand by opening the
-pre-existing device node, will be available.
-
Default udev rules and persistent device naming rules may be required
by other software that depends on the data udev collects from the
devices.