source: BOOK/temp-system/common/gzip.xml@ 3e3a19a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3e3a19a was 259d5d2, checked in by Chris Staub <chris@…>, 16 years ago

Modify temp-system sed commands to work with more versions of sed

  • Property mode set to 100644
File size: 2.0 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-gzip" role="wrap">
9 <?dbhtml filename="gzip.html"?>
10
11 <title>Gzip-&gzip-version;</title>
12
13 <indexterm zone="ch-temp-system-gzip">
14 <primary sortas="a-Gzip">Gzip</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/gzip.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Gzip</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/common/gzip.xml"
27 xpointer="xpointer(//*[@os='s1'])"/>
28
29<screen os="s2"><userinput>for file in $(grep -lr futimens *); do
30 cp -v ${file}{,.orig}
31 sed -e "s/futimens/gl_&amp;/" ${file}.orig > ${file}
32done</userinput></screen>
33
34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
35 href="../../final-system/common/gzip.xml"
36 xpointer="xpointer(//*[@os='a'])"/>
37
38<screen os="b"><userinput>./configure --prefix=/tools \
39 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../../final-system/common/gzip.xml"
43 xpointer="xpointer(//*[@os='c'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../../final-system/common/gzip.xml"
47 xpointer="xpointer(//*[@os='d'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../../final-system/common/gzip.xml"
51 xpointer="xpointer(//*[@os='f'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../../final-system/common/gzip.xml"
55 xpointer="xpointer(//*[@os='g'])"/>
56
57 </sect2>
58
59 <sect2 role="content">
60 <title/>
61
62 <para>Details on this package are located in <xref
63 linkend="contents-gzip" role="."/></para>
64
65 </sect2>
66
67</sect1>
Note: See TracBrowser for help on using the repository browser.