1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" |
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ |
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
5 | %general-entities; |
---|
6 | ]> |
---|
7 | |
---|
8 | <sect1 id="ch-scripts-boot" role="wrap"> |
---|
9 | <?dbhtml filename="bootscripts.html"?> |
---|
10 | |
---|
11 | <title>CLFS-Bootscripts-&clfs-bootscripts-version;</title> |
---|
12 | |
---|
13 | <indexterm zone="ch-scripts-boot"> |
---|
14 | <primary sortas="a-Bootscripts">Bootscripts</primary> |
---|
15 | <secondary>boot</secondary> |
---|
16 | </indexterm> |
---|
17 | |
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
19 | href="../../bootscripts/common/bootscripts.xml" |
---|
20 | xpointer="xpointer(//*[@role='package'])"/> |
---|
21 | |
---|
22 | <sect2 role="installation"> |
---|
23 | <title>Installation of CLFS-Bootscripts</title> |
---|
24 | |
---|
25 | <para>Install the package:</para> |
---|
26 | |
---|
27 | <screen><userinput>make ETCDIR=${LFS}/etc minimal</userinput></screen> |
---|
28 | |
---|
29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
30 | href="../../bootscripts/common/setclock.xml" |
---|
31 | xpointer="xpointer(//*[@os='a'])"/> |
---|
32 | |
---|
33 | <para>If you do not know whether or not the hardware clock is set to UTC, |
---|
34 | you can find out after you have booted the new machine by running the |
---|
35 | <userinput>hwclock --localtime --show</userinput> command, and if |
---|
36 | necessary editing the <filename>/etc/sysconfig/clock</filename> script. |
---|
37 | The worst that will happen if you make a wrong guess here is that the |
---|
38 | time displayed will be wrong.</para> |
---|
39 | |
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
41 | href="../../bootscripts/common/setclock.xml" |
---|
42 | xpointer="xpointer(//*[@os='c'])"/> |
---|
43 | |
---|
44 | <screen><userinput>cat > ${LFS}/etc/sysconfig/clock << "EOF" |
---|
45 | <literal># Begin /etc/sysconfig/clock |
---|
46 | |
---|
47 | UTC=1 |
---|
48 | |
---|
49 | # End /etc/sysconfig/clock</literal> |
---|
50 | EOF</userinput></screen> |
---|
51 | |
---|
52 | </sect2> |
---|
53 | |
---|
54 | <sect2 role="content"> |
---|
55 | <title/> |
---|
56 | |
---|
57 | <para>Details on this package are located in <xref |
---|
58 | linkend="contents-bootscripts" role="."/></para> |
---|
59 | |
---|
60 | </sect2> |
---|
61 | |
---|
62 | </sect1> |
---|