source: BOOK/boot/common/util-linux-ng.xml@ 5dcff5d6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5dcff5d6 was 6260e2b, checked in by Chris Staub <chris@…>, 15 years ago

cp -a implies -r as well

  • Property mode set to 100644
File size: 2.2 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-boot-util-linux-ng" role="wrap">
9 <?dbhtml filename="util-linux-ng.html"?>
10
11 <title>Util-linux-ng-&util-linux-ng-version;</title>
12
13 <indexterm zone="ch-boot-util-linux-ng">
14 <primary sortas="a-Util-linux-ng">Util-linux-ng</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/util-linux-ng.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Util-linux-ng</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/common/util-linux-ng.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29<screen os="b"><userinput>./configure --build=${CLFS_HOST} \
30 --host=${CLFS_TARGET} --enable-login-utils \
31 --disable-makeinstall-chown</userinput></screen>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/common/util-linux-ng.xml"
35 xpointer="xpointer(//*[@os='d'])"/>
36
37<screen os="e"><userinput>make</userinput></screen>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../../final-system/common/util-linux-ng.xml"
41 xpointer="xpointer(//*[@os='g'])"/>
42
43<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
44
45 <para os="i">Copy Libraries and includes to /tools:</para>
46
47<screen os="j"><userinput>rm -fv ${CLFS}/usr/lib/lib{blkid,uuid}.la
48cp -v ${CLFS}/usr/lib/lib{blkid,uuid}* /tools/lib
49cp -v ${CLFS}/lib/lib{blkid,uuid}* /tools/lib
50ln -sfv libblkid.so.&util-linux-ng-blkid-id; /tools/lib/libblkid.so
51ln -sfv libuuid.so.&util-linux-ng-uuid-id; /tools/lib/libuuid.so
52install -dv /tools/include/{blkid,uuid}
53cp -av ${CLFS}/usr/include/blkid/* /tools/include/blkid/
54cp -av ${CLFS}/usr/include/uuid/* /tools/include/uuid/</userinput></screen>
55
56 </sect2>
57
58 <sect2 role="content">
59 <title/>
60
61 <para>Details on this package are located in <xref
62 linkend="contents-util-linux-ng" role="."/></para>
63
64 </sect2>
65
66</sect1>
Note: See TracBrowser for help on using the repository browser.