[3f8be484] | 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-introduction">
|
---|
| 9 | <?dbhtml filename="introduction.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Introduction</title>
|
---|
| 12 |
|
---|
[6bb43b3] | 13 | <para>This chapter shows how to complete the temporary tools to create
|
---|
[3f8be484] | 14 | a minimal system that will be used to boot the target machine and to build
|
---|
[6bb43b3] | 15 | the final system packages.</para>
|
---|
[3f8be484] | 16 |
|
---|
[cb943f4] | 17 | <para>There are a few additional packages that will need to be
|
---|
| 18 | installed to allow you to boot the minimal system. Most of these
|
---|
| 19 | packages will be installed onto the root or in /usr on the LFS
|
---|
| 20 | partition ($LFS/bin, $LFS/usr/lib, etc...), rather than /tools.
|
---|
| 21 | However, since you are still installing these packages from the host
|
---|
| 22 | system, these packages will need to be installed using the "DESTDIR"
|
---|
| 23 | option with make.</para>
|
---|
| 24 |
|
---|
| 25 | <para>More detailed info about DESTDIR needed here...</para>
|
---|
| 26 |
|
---|
| 27 | <para>Also, since you will need to create directories and install
|
---|
| 28 | packages in them in $LFS (and of course don't want to use root to do
|
---|
| 29 | this, to avoid damage to the host system), outside of /tools and
|
---|
| 30 | /cross-tools, you will need to temporarily change the ownership of
|
---|
| 31 | $LFS to the <systemitem class="username">lfs</systemitem> user. Run
|
---|
| 32 | the following command as <systemitem
|
---|
| 33 | class="username">root</systemitem>:</para>
|
---|
| 34 |
|
---|
| 35 | <screen><userinput>chown lfs $LFS</userinput></screen>
|
---|
| 36 |
|
---|
[3f8be484] | 37 | </sect1>
|
---|