[48b28ab] | 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-boot-lilo-build" role="wrap">
|
---|
| 9 | <?dbhtml filename="lilo-build.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Lilo-&lilo-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-boot-lilo-build">
|
---|
| 14 | <primary sortas="a-Lilo">Lilo</primary>
|
---|
| 15 | <secondary>boot</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/x86_64-64/lilo.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Lilo</title>
|
---|
| 24 |
|
---|
[3df6c70] | 25 | <para os="a">The following patch forces Lilo to use our cross-compiler
|
---|
[48b28ab] | 26 | (except for a couple of utilities which run during the compile),
|
---|
| 27 | and to look for as86 and ld86 under the names by which we installed
|
---|
| 28 | them.</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="b"><userinput>patch -Np1 -i ../&lilo-cross-x86_64-patch;</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="c">Compile the program which installs the loader, linking
|
---|
| 33 | it statically so that it does not have to link to host libraries
|
---|
| 34 | when it runs:</para>
|
---|
| 35 |
|
---|
[bc2e3fa] | 36 | <screen os="d"><userinput>make lilo-static</userinput></screen>
|
---|
[48b28ab] | 37 |
|
---|
| 38 | <para os="e">Install only the parts we need:</para>
|
---|
| 39 |
|
---|
[bc2e3fa] | 40 | <screen os="f"><userinput>install -v -m755 lilo-static /tools/bin
|
---|
| 41 | install -v -m755 keytab-lilo.pl /tools/bin</userinput></screen>
|
---|
[48b28ab] | 42 |
|
---|
| 43 | </sect2>
|
---|
| 44 |
|
---|
| 45 | <sect2 role="content">
|
---|
| 46 | <title/>
|
---|
| 47 |
|
---|
| 48 | <para>Details on this package are located in <xref
|
---|
| 49 | linkend="contents-lilo" role="."/></para>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | </sect1>
|
---|