2012-01-12 00:18:41 +01:00
|
|
|
The options used usually look like:
|
2011-12-01 12:17:22 +01:00
|
|
|
%configure \
|
2009-06-17 02:25:07 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
2011-12-01 12:17:22 +01:00
|
|
|
--bindir=/usr/bin \
|
2009-06-17 02:25:07 +02:00
|
|
|
--libdir=/usr/lib64 \
|
2012-01-05 19:13:41 +01:00
|
|
|
--libexecdir=/usr/lib \
|
2011-12-01 12:17:22 +01:00
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
2008-07-30 13:57:51 +02:00
|
|
|
--with-selinux
|
2008-07-30 01:45:23 +02:00
|
|
|
|
2011-12-01 12:17:22 +01:00
|
|
|
The options used in a RPM spec file look like:
|
2009-06-17 02:25:07 +02:00
|
|
|
%configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
2011-12-01 12:17:22 +01:00
|
|
|
--bindir=%{_bindir} \
|
2009-06-17 02:25:07 +02:00
|
|
|
--libdir=%{_libdir} \
|
2012-01-05 19:13:41 +01:00
|
|
|
--libexecdir=%{_prefix}/lib \
|
2011-12-01 12:17:22 +01:00
|
|
|
--with-systemdsystemunitdir=%{_prefix}/lib/systemd/system \
|
2009-06-17 02:25:07 +02:00
|
|
|
--with-selinux
|
2008-07-30 01:45:23 +02:00
|
|
|
|
2011-12-01 12:17:22 +01:00
|
|
|
The options to install udev in the rootfs instead of /usr,
|
|
|
|
and udevadm in /sbin:
|
2011-12-25 20:41:52 +01:00
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--with-rootprefix= \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--bindir=/sbin \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--with-rootlibdir=/lib64 \
|
2012-01-05 19:13:41 +01:00
|
|
|
--libexecdir=/lib \
|
2011-12-25 20:41:52 +01:00
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system \
|
|
|
|
--with-selinux
|
2011-12-01 12:17:22 +01:00
|
|
|
|
|
|
|
Some tools expect udevadm in 'sbin'. A symlink to udevadm in 'bin'
|
|
|
|
needs to be manually created if needed.
|
|
|
|
|
2008-08-28 22:58:03 +02:00
|
|
|
The defined location for scripts and binaries which are called
|
2011-12-25 20:41:52 +01:00
|
|
|
from rules is (/usr)/lib/udev/ on all systems and architectures. Any
|
2008-08-28 22:58:03 +02:00
|
|
|
other location will break other packages, who rightfully expect
|
2011-12-25 20:41:52 +01:00
|
|
|
the (/usr)/lib/udev/ directory, to install their rule helper and udev
|
2008-08-28 22:58:03 +02:00
|
|
|
rule files.
|
2008-07-30 01:45:23 +02:00
|
|
|
|
2011-04-29 14:27:11 +02:00
|
|
|
Default udev rules and persistent device naming rules may be required
|
2008-07-30 01:45:23 +02:00
|
|
|
by other software that depends on the data udev collects from the
|
2011-04-29 14:27:11 +02:00
|
|
|
devices.
|