source: BOOK/temp-system/common/util-linux.xml@ 8f6a18f

systemd
Last change on this file since 8f6a18f was 352dce0, checked in by William Harrington <kb0iic@…>, 7 years ago

Shadow nologin should be installed and any remnants of Util-linux nologin should be removed. It is done.

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[ba2a6ce0]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-temp-system-util-linux" role="wrap">
9 <?dbhtml filename="util-linux.html"?>
10
11 <title>Util-linux-&util-linux-version;</title>
12
13 <indexterm zone="ch-temp-system-util-linux">
14 <primary sortas="a-Util-linux">Util-linux</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/common/util-linux.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Util-linux</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26 href="../../final-system/common/util-linux.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
[f37fe30]29<screen os="b"><userinput>./configure \
[7cd7f99]30 --prefix=/tools \
31 --build=${CLFS_HOST} \
32 --host=${CLFS_TARGET} \
33 --disable-makeinstall-chown \
34 --disable-makeinstall-setuid \
[352dce0]35 --disable-nologin \
[a7f7b63]36 --without-python</userinput></screen>
[ba2a6ce0]37
38 <variablelist os="c">
39 <title>The meaning of the new configure option:</title>
40
41 <varlistentry>
42 <term><parameter>--disable-makeinstall-chown</parameter></term>
43 <listitem>
44 <para>This prevents Util-linux from trying to perform any
45 chown commands when it is installed.</para>
46 </listitem>
47 </varlistentry>
48
[db71344]49 <varlistentry>
50 <term><parameter>--disable-makeinstall-setuid</parameter></term>
51 <listitem>
52 <para>This prevents Util-linux from enabling the setuid bit on
53 any of its installed programs.</para>
54 </listitem>
55 </varlistentry>
56
[352dce0]57 <varlistentry>
58 <term><parameter>--disable-nologin</parameter></term>
59 <listitem>
60 <para>This prevents Util-linux from installing
61 <command>nologin</command>.</para>
62 </listitem>
63 </varlistentry>
64
[a7f7b63]65 <varlistentry>
66 <term><parameter>--without-python</parameter></term>
67 <listitem>
[e15a6e4]68 <para>This avoids the building of unneeded Python bindings when
[a7f7b63]69 Python is installed on the host system.</para>
70 </listitem>
71 </varlistentry>
72
[ba2a6ce0]73 </variablelist>
74
[c831ac4]75 <para os='s1'>Adjust the Makefile</para>
76
77<screen os="s2"><userinput>sed -i 's/-lncursesw -ltinfo/-lncurses/' Makefile
[ed3cec1]78sed -i 's/LIBNCURSESW/LIBNCURSES/' config.h</userinput></screen>
[c831ac4]79
[ba2a6ce0]80 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
81 href="../../final-system/common/util-linux.xml"
82 xpointer="xpointer(//*[@os='d'])"/>
83
84<screen os="e"><userinput>make</userinput></screen>
85
86 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
87 href="../../final-system/common/util-linux.xml"
88 xpointer="xpointer(//*[@os='g'])"/>
89
90<screen os="h"><userinput>make install</userinput></screen>
91
92 </sect2>
93
94 <sect2 role="content">
95 <title/>
96
97 <para>Details on this package are located in <xref
98 linkend="contents-util-linux" role="."/></para>
99
100 </sect2>
101
102</sect1>
Note: See TracBrowser for help on using the repository browser.