source: BOOK/final-system/multilib/systemd.xml @ b3543fc

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since b3543fc was b3543fc, checked in by William Harrington <kb0iic@…>, 10 years ago

Do not run make and make install and build all of systemd when we only need the libraries. Create proper make commands and make installatiation commands for building only what is needed for installing the libraries. The full sytemd will be installed for the 64bit target.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-systemd-32" role="wrap">
9  <?dbhtml filename="systemd.html"?>
10
11  <title>Systemd-&systemd-version; 32 Bit Libraries</title>
12
13  <indexterm zone="ch-system-systemd-32">
14    <primary sortas="a-systemd">Systemd</primary>
15    <secondary>32 Bit</secondary>
16  </indexterm>
17
18  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19  href="../common/systemd.xml"
20  xpointer="xpointer(//*[@role='package'])"/>
21
22  <sect2 role="installation">
23    <title>Installation of systemd</title>
24
25    <note os="mlw1">
26      <para>If you do not have Linux-PAM installed in your system you can safely
27      skip this page. If you do have Linux-PAM installed and you wish to use
28      <filename class="libraryfile">pam_systemd.so</filename>
29      to register and control user sessions within the systemd control group
30      hierarchy, follow the instructions to install the module.</para>
31    </note>
32
33    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
34    href="../common/systemd.xml"
35    xpointer="xpointer(//*[@os='p1'])"/>
36
37    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
38    href="../common/systemd.xml"
39    xpointer="xpointer(//*[@os='p2'])"/>
40
41    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
42    href="../common/systemd.xml"
43    xpointer="xpointer(//*[@os='a'])"/>
44
45<screen><userinput>CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
46  ./configure --prefix=/usr \
47    --sysconfdir=/etc --localstatedir=/var \
48    --libexecdir=/usr/lib --docdir=/usr/share/doc/systemd-&systemd-version; \
49    --with-rootprefix="" --with-rootlibdir=/lib \
50    --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \
51    --with-kbd-setfont=/bin/setfont --with-dbuspolicydir=/etc/dbus-1/system.d \
52    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
53    --with-dbussessionservicedir=/usr/share/dbus-1/services \
54    --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
55
56    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
57    href="../common/systemd.xml"
58    xpointer="xpointer(//*[@os='d'])"/>
59
60<screen os="e"><userinput>make src/shared/{af,errno}-{from,to}-name.h src/libsystemd/libsystemd.sym
61make libsystemd.la libudev.la libgudev-1.0.la libnss_myhostname.la</userinput></screen>
62
63    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
64    href="../common/systemd.xml"
65    xpointer="xpointer(//*[@os='j'])"/>
66
67<screen os="k"><userinput>make -j1 install-libLTLIBRARIES
68make -j1 install-pkgconfiglibDATA</userinput></screen>
69
70    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
71    href="../common/systemd.xml"
72    xpointer="xpointer(//*[@os='n'])"/>
73
74    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
75    href="../common/systemd.xml"
76    xpointer="xpointer(//*[@os='o'])"/>
77
78  </sect2>
79
80  <sect2 role="content">
81    <title/>
82
83    <para>Details on this package are located in <xref
84    linkend="contents-systemd" role="."/></para>
85
86  </sect2>
87
88</sect1>
Note: See TracBrowser for help on using the repository browser.