1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-04 22:21:55 +03:00
systemd/INSTALL

45 lines
1.4 KiB
Plaintext
Raw Normal View History

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