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

systemd
Last change on this file since d7d874c 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
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-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
29<screen os="b"><userinput>./configure \
30 --prefix=/tools \
31 --build=${CLFS_HOST} \
32 --host=${CLFS_TARGET} \
33 --disable-makeinstall-chown \
34 --disable-makeinstall-setuid \
35 --disable-nologin \
36 --without-python</userinput></screen>
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
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
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
65 <varlistentry>
66 <term><parameter>--without-python</parameter></term>
67 <listitem>
68 <para>This avoids the building of unneeded Python bindings when
69 Python is installed on the host system.</para>
70 </listitem>
71 </varlistentry>
72
73 </variablelist>
74
75 <para os='s1'>Adjust the Makefile</para>
76
77<screen os="s2"><userinput>sed -i 's/-lncursesw -ltinfo/-lncurses/' Makefile
78sed -i 's/LIBNCURSESW/LIBNCURSES/' config.h</userinput></screen>
79
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.