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