| 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-scripts-boot" role="wrap">
 | 
|---|
| 9 |   <?dbhtml filename="bootscripts.html"?>
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   <title>Bootscripts for CLFS &bootscripts-clfs-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/2001/XInclude"
 | 
|---|
| 19 |   href="../../bootscripts/common/bootscripts.xml"
 | 
|---|
| 20 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| 21 | 
 | 
|---|
| 22 |   <sect2 role="installation">
 | 
|---|
| 23 |     <title>Installation of Bootscripts</title>
 | 
|---|
| 24 | 
 | 
|---|
| 25 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 26 |     href="../../bootscripts/common/bootscripts.xml"
 | 
|---|
| 27 |     xpointer="xpointer(//*[@os='a'])"/>
 | 
|---|
| 28 | 
 | 
|---|
| 29 | <screen os="b"><userinput>make DESTDIR=${CLFS} install-minimal</userinput></screen>
 | 
|---|
| 30 | 
 | 
|---|
| 31 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 32 |     href="../../bootscripts/common/setclock.xml"
 | 
|---|
| 33 |     xpointer="xpointer(//*[@os='a'])"/>
 | 
|---|
| 34 | 
 | 
|---|
| 35 |     <para os="c">If you do not know whether or not the hardware clock is set to UTC,
 | 
|---|
| 36 |     you can find out after you have booted the new machine by running the
 | 
|---|
| 37 |     <userinput>hwclock --localtime  --show</userinput> command, and if
 | 
|---|
| 38 |     necessary editing the <filename>/etc/sysconfig/clock</filename> script.
 | 
|---|
| 39 |     The worst that will happen if you make a wrong guess here is that the
 | 
|---|
| 40 |     time displayed will be wrong.</para>
 | 
|---|
| 41 | 
 | 
|---|
| 42 |     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 43 |     href="../../bootscripts/common/setclock.xml"
 | 
|---|
| 44 |     xpointer="xpointer(//*[@os='c'])"/>
 | 
|---|
| 45 | 
 | 
|---|
| 46 | <screen os="d"><userinput>cat > ${CLFS}/etc/sysconfig/clock << "EOF"
 | 
|---|
| 47 | <literal># Begin /etc/sysconfig/clock
 | 
|---|
| 48 | 
 | 
|---|
| 49 | UTC=1
 | 
|---|
| 50 | 
 | 
|---|
| 51 | # End /etc/sysconfig/clock</literal>
 | 
|---|
| 52 | EOF</userinput></screen>
 | 
|---|
| 53 | 
 | 
|---|
| 54 |   </sect2>
 | 
|---|
| 55 | 
 | 
|---|
| 56 |   <sect2 role="content">
 | 
|---|
| 57 |     <title/>
 | 
|---|
| 58 | 
 | 
|---|
| 59 |   <para>Details on this package are located in <xref
 | 
|---|
| 60 |   linkend="contents-bootscripts" role="."/></para>
 | 
|---|
| 61 | 
 | 
|---|
| 62 |   </sect2>
 | 
|---|
| 63 | 
 | 
|---|
| 64 | </sect1>
 | 
|---|