[systemd-devel] Building systemd from git
Lennart Poettering
lennart at poettering.net
Wed Mar 19 13:45:04 PDT 2014
On Wed, 19.03.14 22:25, Kevin Wilson (wkevils at gmail.com) wrote:
> Hello,
>
> When I build systemd from git using the usual procedure of configure,
> without setting special parameters, it installs folder under
> /usr/etc/systemd/ (like /usr/etc/systemd/system and its children,
> /usr/etc/systemd/network/, and more).
>
> Is there a way to run configure so that, instead of
> /usr/etc/systemd/, it will use /etc/systemd/ ?
> In Fedora, for example, the rpm uses the /etc/systemd and not
> /usr/etc/systemd/, which does not exist.
This works like for any other autoconf/automake package. If you want to
override the GNU defaults use --sysconfdir= for example.
If you are a developer, and now what you do the best way to build and
install systemd is via "./autogen.sh c && make -j8 && sudo make
install". However, do understand that this voids your warranty because
it will install systemd into /usr which is package manager territory.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list