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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6e5f7bd was f3c06b3, checked in by Chris Staub <chris@…>, 11 years ago

Prevent util-linux in /tools from making anything suid

  • Property mode set to 100644
File size: 2.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
29<screen os="b"><userinput>PKG_CONFIG= ./configure --prefix=/tools \
30 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[f3c06b3]31 --disable-makeinstall-chown --disable-makeinstall-setuid</userinput></screen>
[ba2a6ce0]32
33 <variablelist os="c">
34 <title>The meaning of the new configure option:</title>
35
36 <varlistentry>
37 <term><parameter>--disable-makeinstall-chown</parameter></term>
38 <listitem>
39 <para>This prevents Util-linux from trying to perform any
40 chown commands when it is installed.</para>
41 </listitem>
42 </varlistentry>
43
44 </variablelist>
45
46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
47 href="../../final-system/common/util-linux.xml"
48 xpointer="xpointer(//*[@os='d'])"/>
49
50<screen os="e"><userinput>make</userinput></screen>
51
52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
53 href="../../final-system/common/util-linux.xml"
54 xpointer="xpointer(//*[@os='g'])"/>
55
56<screen os="h"><userinput>make install</userinput></screen>
57
58 </sect2>
59
60 <sect2 role="content">
61 <title/>
62
63 <para>Details on this package are located in <xref
64 linkend="contents-util-linux" role="."/></para>
65
66 </sect2>
67
68</sect1>
Note: See TracBrowser for help on using the repository browser.