Systemd/src/udev/INSTALL

45 lines
1.4 KiB
Plaintext
Raw Normal View History

The options used usually look like:
%configure \
--prefix=/usr \
--sysconfdir=/etc \
--bindir=/usr/bin \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--with-selinux
2008-07-30 01:45:23 +02:00
The options used in a RPM spec file look like:
%configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--libexecdir=%{_prefix}/lib \
--with-systemdsystemunitdir=%{_prefix}/lib/systemd/system \
--with-selinux
2008-07-30 01:45:23 +02: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 \
--libexecdir=/lib \
2011-12-25 20:41:52 +01:00
--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.
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
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
devices.