Subversion Repositories svn LFS-FR

Compare Revisions

Ignore whitespace Rev 6575 → Rev 6576

/trunk/clfs/bootscripts/alpha-chapter.xml
File deleted
/trunk/clfs/bootscripts/x86-chapter.xml
File deleted
/trunk/clfs/bootscripts/common/usage.xml
File deleted
/trunk/clfs/bootscripts/common/inputrc.xml
File deleted
/trunk/clfs/bootscripts/common/setclock.xml
File deleted
/trunk/clfs/bootscripts/common/eudev.xml
File deleted
/trunk/clfs/bootscripts/common/symlinks.xml
File deleted
/trunk/clfs/bootscripts/common/bootscripts.xml
File deleted
/trunk/clfs/bootscripts/common/locale.xml
File deleted
/trunk/clfs/bootscripts/common/profile.xml
File deleted
/trunk/clfs/bootscripts/common/introduction.xml
File deleted
/trunk/clfs/bootscripts/common/console.xml
File deleted
/trunk/clfs/bootscripts/x86_64-64-chapter.xml
File deleted
/trunk/clfs/bootscripts/mips-chapter.xml
File deleted
/trunk/clfs/bootscripts/sparc-chapter.xml
File deleted
/trunk/clfs/bootscripts/sparc64-64-chapter.xml
File deleted
/trunk/clfs/bootscripts/mips64-64-chapter.xml
File deleted
/trunk/clfs/bootscripts/ppc64-chapter.xml
File deleted
/trunk/clfs/bootscripts/multilib/bootscripts.xml
File deleted
/trunk/clfs/bootscripts/x86_64-chapter.xml
File deleted
/trunk/clfs/bootscripts/sparc64-chapter.xml
File deleted
/trunk/clfs/bootscripts/ppc-chapter.xml
File deleted
/trunk/clfs/bootscripts/mips64-chapter.xml
File deleted
/trunk/clfs/bootscripts/ppc64-64-chapter.xml
File deleted
/trunk/clfs/bootable/alpha-chapter.xml
File deleted
/trunk/clfs/bootable/alpha/fstab.xml
File deleted
/trunk/clfs/bootable/alpha/kernel.xml
File deleted
/trunk/clfs/bootable/alpha/aboot.xml
File deleted
/trunk/clfs/bootable/common/fstab.xml
File deleted
/trunk/clfs/bootable/common/introduction.xml
11,8 → 11,7
<title>Introduction</title>
 
<para>Il est temps de rendre amorçable le système CLFS. Ce chapitre traite de
la création d'un fichier <filename>fstab</filename>, de la construction d'un noyau
pour le nouveau système CLFS et de l'installation du chargeur de démarrage
la construction d'un noyau pour le nouveau système CLFS et de l'installation du chargeur de démarrage
afin que le système CLFS puisse être sélectionné au démarrage.</para>
 
</sect1>
/trunk/clfs/bootable/mips-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/arcload.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
/trunk/clfs/bootable/sparc-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
 
/trunk/clfs/bootable/sparc64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
 
/trunk/clfs/bootable/mips64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/arcload.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
/trunk/clfs/bootable/ppc64/kernel.xml
File deleted
/trunk/clfs/bootable/ppc64/yaboot.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
12,7 → 12,7
 
<indexterm zone="ch-bootable-yaboot">
<primary sortas="a-Yaboot">Yaboot</primary>
<secondary>configuration</secondary></indexterm>
<secondary>configuring</secondary></indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../ppc/yaboot.xml"
/trunk/clfs/bootable/sparc64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
 
/trunk/clfs/bootable/mips64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/arcload.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
/trunk/clfs/bootable/ppc-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
 
/trunk/clfs/bootable/ppc64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,7 → 12,6
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
 
/trunk/clfs/bootable/sparc/fstab.xml
File deleted
/trunk/clfs/bootable/sparc/silo.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
12,7 → 12,7
 
<indexterm zone="ch-bootable-silo">
<primary sortas="a-silo">Silo</primary>
<secondary>configuration</secondary>
<secondary>configuring</secondary>
</indexterm>
 
<para>Create a <filename>silo.conf</filename> file defining Silo's boot
24,7 → 24,7
root = /dev/sda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section
 
image = /boot/clfskernel-&linux-version;
image = /boot/clfskernel-&linux-version2;
label = linux
# End /etc/silo.conf</literal>
EOF</userinput></screen>
/trunk/clfs/bootable/sparc/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-bootable-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-bootable-kernel">
<primary sortas="a-Linux">Linux</primary>
27,6 → 27,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39,6 → 47,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='kc'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='kd'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='h'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
67,24 → 83,12
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='r'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='t'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
101,7 → 105,7
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version;</userinput></screen>
<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/bootable/mips/colo.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
40,8 → 40,8
#
# load linux
#
lcd 'Booting &linux-version;...'
load vmlinux-&linux-version;.gz
lcd 'Booting &linux-version2;...'
load vmlinux-&linux-version2;.gz
execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe</literal>
EOF</userinput></screen>
 
/trunk/clfs/bootable/mips/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-bootable-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-bootable-kernel">
<primary sortas="a-Linux">Linux</primary>
27,6 → 27,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39,6 → 47,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='kc'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='kd'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='h'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
63,24 → 79,12
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='r'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='t'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
97,8 → 101,8
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux /boot/vmlinux-&linux-version;
gzip -9 /boot/vmlinux-&linux-version;</userinput></screen>
<screen><userinput>cp -v vmlinux /boot/vmlinux-&linux-version2;
gzip -9 /boot/vmlinux-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/bootable/mips/arcload.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
30,9 → 30,9
append "console=ttyS0,9600";
 
CLFS {
&linux-version; {
description "&linux-version;";
image system "/&linux-version;";
&linux-version2; {
description "&linux-version2;";
image system "/&linux-version2;";
}
 
debug {
47,6 → 47,6
 
<screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash sash
dvhtool --unix-to-vh /boot/arc.cf arc.cf
dvhtool --unix-to-vh /boot/&linux-version; &linux-version;</userinput></screen>
dvhtool --unix-to-vh /boot/&linux-version2; &linux-version2;</userinput></screen>
 
</sect1>
/trunk/clfs/bootable/ppc64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,8 → 12,7
<title>Making the CLFS System Bootable</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot.xml"/>
 
</chapter>
/trunk/clfs/bootable/mips64/arcload.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
12,7 → 12,7
 
<indexterm zone="ch-bootable-arcload">
<primary sortas="a-Arcload">Arcload</primary>
<secondary>configuration</secondary>
<secondary>configuring</secondary>
</indexterm>
 
<note os="a">
30,9 → 30,9
append "console=ttyS0,9600";
 
CLFS {
&linux-version; {
description "&linux-version;";
image system "/&linux-version;";
&linux-version2; {
description "&linux-version2;";
image system "/&linux-version2;";
}
 
debug {
47,6 → 47,6
 
<screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash64 sash64
dvhtool --unix-to-vh /boot/arc.cf arc.cf
dvhtool --unix-to-vh /boot/&linux-version; &linux-version;</userinput></screen>
dvhtool --unix-to-vh /boot/&linux-version2; &linux-version2;</userinput></screen>
 
</sect1>
/trunk/clfs/bootable/ppc/yaboot.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
12,7 → 12,7
 
<indexterm zone="ch-bootable-yaboot">
<primary sortas="a-Yaboot">Yaboot</primary>
<secondary>configuration</secondary></indexterm>
<secondary>configuring</secondary></indexterm>
 
<para os="a">Your shiny new CLFS system is almost complete. One of the last
things to do is to ensure that the system can be properly booted. The
62,7 → 62,7
to the image(s), such as
<parameter>device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:</parameter>
for the disk, and
<parameter>image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version;</parameter>
<parameter>image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version2;</parameter>
which definitely works.</para>
 
<para os="k">Create a <quote>yaboot.conf</quote> file defining yaboot's boot
112,7 → 112,7
# For all images, the pathname is relative to the filesystem
# on which they are situated and can include at most one
# directory
image=/boot/clfskernel-&linux-version;
image=/boot/clfskernel-&linux-version2;
label=&version;
read-only</literal>
EOF</userinput></screen>
/trunk/clfs/bootable/ppc/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-bootable-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-bootable-kernel">
<primary sortas="a-Linux">Linux</primary>
27,6 → 27,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
39,6 → 47,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='kc'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='kd'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='h'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
56,7 → 72,7
<command>make oldconfig</command> and manually select many of the
mac-specific options for ide and input.</para>
</warning>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='k'])"/>
75,24 → 91,12
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='r'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='t'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
109,7 → 113,7
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version;</userinput></screen>
<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/mips64-64/flags.xml
File deleted
/trunk/clfs/boot/x86_64-64/flags.xml
File deleted
/trunk/clfs/boot/x86_64-64/eudev.xml
File deleted
/trunk/clfs/boot/x86_64-64/kmod.xml
File deleted
/trunk/clfs/boot/x86_64-64/e2fsprogs.xml
File deleted
/trunk/clfs/boot/ppc64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,27 → 12,27
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/util-linux-32.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/powerpc-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/x86_64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,23 → 12,24
<title>Si vous allez redémarrer</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grub-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
</chapter>
/trunk/clfs/boot/multilib/sysvinit.xml
File deleted
/trunk/clfs/boot/multilib/util-linux.xml
File deleted
/trunk/clfs/boot/multilib/creatingdirs.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
14,32 → 14,34
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
install -dv ${CLFS}/root -m 0750
install -dv ${CLFS}{/var,}/tmp -m 1777
ln -sv ../run ${CLFS}/var/run
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src}
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
for dir in ${CLFS}/usr{,/local}; do
ln -sv share/{man,doc,info} $dir
done
install -dv ${CLFS}/usr/lib/locale
ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='c'])"/>
xpointer="xpointer(//*[@os='d'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='d'])"/>
xpointer="xpointer(//*[@os='e'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='e'])"/>
xpointer="xpointer(//*[@os='f'])"/>
 
</sect1>
/trunk/clfs/boot/multilib/createfiles.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,20 → 8,33
<sect1 id="ch-boot-createfiles">
<?dbhtml filename="createfiles.html"?>
 
<title>Création des liens essentiels</title>
<title>Créer les liens symboliques essentiels</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64
ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64
sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
ln -sv bash ${CLFS}/bin/sh
ln -sv ../run ${CLFS}/var/run</userinput></screen>
ln -sv /tools/sbin/init ${CLFS}/sbin
ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='d'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='e'])"/>
 
</sect1>
/trunk/clfs/boot/multilib/eudev.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,15 → 8,14
<sect1 id="ch-boot-eudev" role="wrap">
<?dbhtml filename="eudev.html"?>
 
<title>Eeudev-&eudev-version;</title>
<title>Eudev-&eudev-version;</title>
 
<indexterm zone="ch-boot-eudev">
<primary sortas="a-Eudev">eudev</primary>
<secondary>démarrage</secondary>
<primary sortas="a-Eudev">Eudev</primary>
</indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
href="../common/eudev.xml"
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
23,30 → 22,28
<title>Installation d'Eudev</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen os="b"><userinput>BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib64 -lblkid" \
KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib64 -lkmod" \
CC="${CC} ${BUILD64}" LDFLAGS="-Wl,-rpath,/tools/lib64:/lib64" \
./configure --prefix=/usr --build=${CLFS_HOST} \
--host=${CLFS_TARGET} --with-rootprefix='' --enable-split-usr \
--sysconfdir=/etc --libexecdir=/lib64 --bindir=/sbin --sbindir=/sbin \
--libdir=/usr/lib64 --with-rootlibdir=/lib64 --disable-introspection \
--disable-gtk-doc-html --disable-gudev --disable-keymap \
--with-firmware-path=/lib/firmware --enable-libkmod</userinput></screen>
<screen os="b"><userinput>./configure --prefix=/tools --build=${CLFS_HOST} \
--host=${CLFS_TARGET} --libdir=/tools/lib64 --with-rootlibdir=/tools/lib64 \
--disable-introspection --disable-gtk-doc-html --disable-gudev \
--disable-keymap --with-firmware-path=/lib/firmware --enable-libkmod</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='b1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='d'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='g'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
53,14 → 50,18
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='j'])"/>
 
</sect2>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='r1'])"/>
 
<sect2 role="content">
<title/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/eudev.xml"
xpointer="xpointer(//*[@os='r2'])"/>
 
<para>Les détails sur ce paquet sont situés dans <xref
linkend="contents-eudev" role="."/></para>
 
</sect2>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/eudev.xml"
xpointer="xpointer(//*[@role='content'])"/>
 
</sect1>
/trunk/clfs/boot/multilib/e2fsprogs.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
12,7 → 12,7
 
<indexterm zone="ch-boot-e2fsprogs">
<primary sortas="a-E2fsprogs">E2fsprogs</primary>
<secondary>démarrage</secondary>
<secondary>boot</secondary>
</indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
20,9 → 20,9
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de E2fsprogs</title>
<title>Installation d'E2fsprogs</title>
 
<para os="m1">Assurez-vous que les bibliothèques sont installées dans
<para os="m1">Assurez-vous que les bibliothèques seront installées dans
<filename class="directory">/tools/lib64</filename>&nbsp;:</para>
 
<screen os="m2"><userinput>cp -v configure{,.orig}
40,8 → 40,7
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<screen os="aa"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
../configure --prefix=/tools --enable-elf-shlibs \
<screen os="aa"><userinput>../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuidd</userinput></screen>
54,9 → 53,9
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
 
<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" \
LDFLAGS="-Wl,-rpath,/tools/lib64"</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='g'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
74,14 → 73,6
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='l'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='ad'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='ae'])"/>
 
</sect2>
 
<sect2 role="content">
/trunk/clfs/boot/multilib/kmod.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
23,15 → 23,26
<title>Installation de Kmod</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/kmod.xml"
xpointer="xpointer(//*[@os='s1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/kmod.xml"
xpointer="xpointer(//*[@os='s2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib64 -llzma" \
zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib64 -lz" \
CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
--bindir=/bin --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--libdir=/tools/lib64 --with-xz --with-zlib --disable-manpages</userinput></screen>
<screen os="b"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--libdir=/tools/lib64 --with-xz --with-zlib</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/kmod.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='d'])"/>
 
43,18 → 54,17
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='g'])"/>
 
<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/kmod.xml"
xpointer="xpointer(//*[@os='h'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='i'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/kmod.xml"
xpointer="xpointer(//*[@os='i'])"/>
 
<screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
ln -sv ../bin/kmod ${CLFS}/sbin/depmod
ln -sv ../bin/kmod ${CLFS}/sbin/insmod
ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/kmod.xml"
xpointer="xpointer(//*[@os='j'])"/>
 
</sect2>
 
61,7 → 71,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref
<para>Les détails sur ce paquet sont situés dans <xref
linkend="contents-kmod" role="."/></para>
 
</sect2>
/trunk/clfs/boot/multilib/flags.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
10,8 → 10,8
 
<title>Drapeaux de construction</title>
 
<para>Nous devrons copier nos variables de construction dans notre nouveau
système&nbsp;:</para>
<para>Nous allons devoir copier nos variables de construction dans notre
nouveau système&nbsp;:</para>
 
<screen><userinput>cat &gt;&gt; ${CLFS}/root/.bash_profile &lt;&lt; EOF
export BUILD32="${BUILD32}"
18,5 → 18,5
export BUILD64="${BUILD64}"
export CLFS_TARGET32="${CLFS_TARGET32}"
EOF</userinput></screen>
 
</sect1>
 
/trunk/clfs/boot/multilib/grub-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
26,23 → 26,32
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='n1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='s1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='s1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/grub-build.xml"
xpointer="xpointer(//*[@os='s2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
<screen os="ab"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen>
--libdir=/tools/lib64 --disable-werror \
--enable-grub-mkfont=no --with-bootdir=tools/boot</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/grub-build.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/grub-build.xml"
xpointer="xpointer(//*[@os='bc'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
54,7 → 63,9
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='f'])"/>
 
<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/grub-build.xml"
xpointer="xpointer(//*[@os='ag'])"/>
 
</sect2>
 
/trunk/clfs/boot/sparc64/flags.xml
File deleted
/trunk/clfs/boot/sparc64/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
31,7 → 31,15
xpointer="xpointer(//*[@os='a'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
62,17 → 70,9
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=${CLFS} \
<screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=/tools \
CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
80,7 → 80,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
90,7 → 90,8
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/mips64/createfiles.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
14,16 → 14,29
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32
ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
ln -sv /tools/lib32/libstd*so* ${CLFS}/usr/lib32
ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64
ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
ln -sv /tools/lib32/libstdc++.so{.6,} ${CLFS}/usr/lib32
ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64
sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
ln -sv bash ${CLFS}/bin/sh
ln -sv ../run ${CLFS}/var/run</userinput></screen>
ln -sv /tools/sbin/init ${CLFS}/sbin
ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='d'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='e'])"/>
 
</sect1>
/trunk/clfs/boot/mips64/colo-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,9 → 20,13
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de Colo</title>
<title>Installation of Colo</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/mips64/colo.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
40,16 → 44,24
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
xpointer="xpointer(//*[@os='a'])"/>
xpointer="xpointer(//*[@os='s1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
xpointer="xpointer(//*[@os='s2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<screen os="aa"><userinput>cd tools/elf2rfx
make CC=gcc
cd ../..
make CC="${CC} ${BUILD64}" CROSS_COMPILE="${CLFS_TARGET}-" binary</userinput></screen>
make CROSS_COMPILE="${CLFS_TARGET}-" binary</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
xpointer="xpointer(//*[@os='b'])"/>
xpointer="xpointer(//*[@os='c'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
60,7 → 72,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref
<para>Details on this package are located in <xref
linkend="contents-colo" role="."/></para>
 
</sect2>
/trunk/clfs/boot/mips64/flags.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
/trunk/clfs/boot/mips64/creatingdirs.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,13 → 20,11
mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
install -dv ${CLFS}/root -m 0750
install -dv ${CLFS}{/var,}/tmp -m 1777
ln -sv ../run ${CLFS}/var/run
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,32,64},sbin,src}
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
for dir in ${CLFS}/usr{,/local}; do
ln -sv share/{man,doc,info} $dir
done
install -dv ${CLFS}/usr/lib/locale
ln -sv ../lib/locale ${CLFS}/usr/lib32
ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
/trunk/clfs/boot/mips64/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
35,6 → 35,14
xpointer="xpointer(//*[@os='m1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
64,18 → 72,10
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
82,7 → 82,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
92,8 → 92,9
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v vmlinux /tools/boot/vmlinux-&linux-version2;
gzip -9 /tools/boot/vmlinux-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/ppc/yaboot-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
/trunk/clfs/boot/ppc/powerpc-utils.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,7 → 20,7
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de Powerpc-Utils</title>
<title>Installation of Powerpc-Utils</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/ppc/powerpc-utils.xml"
30,14 → 30,14
href="../../final-system/ppc/powerpc-utils.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<para os="a">This package's Makefile has issues with cross-compiling. Fortunately,
<para os="c">This package's Makefile has issues with cross-compiling. Fortunately,
we only need one program and it is a simple task to compile it.</para>
 
<screen><userinput>${CC} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
<screen os="d"><userinput>${CC} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
 
<para os="c">Install the program:</para>
<para os="e">Install the program:</para>
 
<screen os="d"><userinput>install -v -m755 nvsetenv /tools/sbin</userinput></screen>
<screen os="f"><userinput>install -v -m755 nvsetenv /tools/sbin</userinput></screen>
 
</sect2>
 
44,7 → 44,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref linkend="contents-powerpc-utils" role="."/></para>
<para>Details on this package are located in <xref linkend="contents-powerpc-utils" role="."/></para>
 
</sect2>
 
/trunk/clfs/boot/ppc/yaboot.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
/trunk/clfs/boot/ppc/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
31,7 → 31,15
xpointer="xpointer(//*[@os='a'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
65,18 → 73,10
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
83,7 → 83,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
93,7 → 93,8
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/ppc/hfsutils.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,7 → 20,7
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de Hfsutils</title>
<title>Installation of Hfsutils</title>
 
<para>If you have created, or will create, the ext2 filesystem on your
Mac using ext2fsx you can jump ahead to
62,7 → 62,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref linkend="contents-hfsutils" role="."/></para>
<para>Details on this package are located in <xref linkend="contents-hfsutils" role="."/></para>
 
</sect2>
 
/trunk/clfs/boot/x86/grub-build.xml
30,9 → 30,8
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='s1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen os="s2"><userinput>cp -v grub-core/gnulib/stdio.in.h{,.orig}
sed -e '/gets is a/d' grub-core/gnulib/stdio.in.h.orig &gt; grub-core/gnulib/stdio.in.h</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
40,9 → 39,27
 
<screen os="ab"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--sysconfdir=/etc --disable-werror</userinput></screen>
--disable-werror --enable-grub-mkfont=no --with-bootdir=tools/boot</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
<para os="b">Voici la signification de la nouvelle option de configuration&nbsp;:</para>
 
<variablelist os="bc">
 
<varlistentry>
<term><parameter>--enable-grub-mkfont=no</parameter></term>
<listitem><para>Empêche GRUB d'essayer de construire
<command>grub-mkfont</command>, qui exige Freetype.</para></listitem>
</varlistentry>
 
<varlistentry>
<term><parameter>--with-bootdir=tools/boot</parameter></term>
<listitem><para>Ceci modifie l'emplacement par défaut où GRUB cherche les
images du noyau et installe ses fichiers de chargement.</para></listitem>
</varlistentry>
 
</variablelist>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
54,7 → 71,7
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='f'])"/>
 
<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
<screen os="ag"><userinput>make install</userinput></screen>
 
</sect2>
 
/trunk/clfs/boot/x86/kernel.xml
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
38,6 → 38,14
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
48,6 → 56,20
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='d'])"/>
 
<note os="kc"><para>Un bon début pour paramétrer la
configuration du noyau est de lancer <command>make defconfig</command>. Cela
règlera la configuration de base correctement en prenant en compte votre
architecture système.</para>
 
<para>Assurez-vous de configurer les options suivantes comme indiqué, sans
quoi le système pourrait ne pas marcher correctement, voire pas du tout.</para>
 
<screen role="nodump">Device Drivers ---&gt;
Generic Driver Options ---&gt;
() path to uevent helper (CONFIG_UEVENT_HELPER_PATH)
[*] Maintain a devtmpfs filesystem to mount at /dev (CONFIG_DEVTMPFS)
[ ] Fallback user-helper invocation for firmware loading (CONFIG_FW_LOADER_USER_HELPER)</screen></note>
 
<para os="ae">Configurez le noyau avec l'interface du menu&nbsp;:</para>
 
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
59,27 → 81,19
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
 
<para os="af">Si vous ne pouvez pas vous passer des modules du noyau, vous pouvez avoir
besoin d'un fichier <filename>/etc/modprobe.conf</filename>. Vous trouverez
besoin d'un fichier <filename>/etc/modprobe.d</filename>. Vous trouverez
des informations concernant les modules et la configuration du noyau dans la
documentation du noyau dans le répertoire <filename
class="directory">Documentation</filename> de l'arborescence des sources
du noyau. La page de man <filename>modprobe.conf</filename> peut aussi être
du noyau. La page de man <filename>modprobe.d</filename> peut aussi être
intéressante.</para>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
86,29 → 100,28
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<para os="u">After kernel compilation is complete, additional steps are
required to complete the installation. Some files need to be copied to
the <filename class="directory">${CLFS}/boot</filename> directory.</para>
<para os="u">Après que la compilation est finie, des étapes supplémentaires
sont nécessaire pour achever l'installation. Il faut copier certains fichiers
dans le répertoire <filename class="directory">/tools/boot</filename>.</para>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
<para os="v">Exécutez les commandes suivantes pour installer le noyau&nbsp;:</para>
 
<screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v arch/i386/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='w'])"/>
 
<screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
<screen os="w1"><userinput>cp -v System.map /tools/boot/System.map-&linux-version;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='x'])"/>
 
<screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
<screen os="x1"><userinput>cp -v .config /tools/boot/config-&linux-version;</userinput></screen>
 
</sect2>
 
/trunk/clfs/boot/common/util-linux.xml
File deleted
/trunk/clfs/boot/common/fstab.xml
12,6 → 12,7
 
<indexterm zone="ch-boot-fstab">
<primary sortas="e-/etc/fstab">/etc/fstab</primary>
<secondary>démarrage</secondary>
</indexterm>
 
<para os="a">Le fichier <filename>/etc/fstab</filename> est utilisé par certains programmes pour déterminer où vont être
26,21 → 27,24
 
/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
# Fin de /etc/fstab</literal>
EOF</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/common/fstab.xml"
href="../../system-config/common/fstab.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/common/fstab.xml"
xpointer="xpointer(//*[@os='c'])"/>
<para os="c">Le point de montage
<filename class="directory">/dev/shm</filename> de
for <systemitem class="filesystem">tmpfs</systemitem> est inclu pour permettre
d'activer la mémoire POSIX partagée. Le noyau doit avoir le support requis
en dur pour que cela fonctionne (en savoir plus sur cela dans la prochaine
section). Merci de !emarquer que très peu de logiciels utilisent aujourd'hui
la mémoire POSIX partagée. Considérez donc le point de montage <filename
class="directory">/dev/shm</filename> comme facultatif. Pour plus
d'informations, voir <filename>Documentation/filesystems/tmpfs.txt</filename>
dans l'arborescence des sources du noyau.</para>
 
</sect1>
/trunk/clfs/boot/common/pwdgroup.xml
8,32 → 8,18
<sect1 id="ch-boot-pwdgroup">
<?dbhtml filename="pwdgroup.html"?>
 
<title>Créer les fichiers de mot de passe, des groupes et des journaux</title>
<title>Créer les fichiers de mot de passe et des groupes</title>
 
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/etc/passwd">/etc/passwd</primary>
<secondary>démarrage</secondary>
</indexterm>
 
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/etc/group">/etc/group</primary>
<secondary>démarrage</secondary>
</indexterm>
 
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
</indexterm>
 
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
</indexterm>
 
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary>
</indexterm>
 
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary>
</indexterm>
 
<para os="a">Afin que l'utilisateur <systemitem class="username">root</systemitem> puisse se connecter et pour que le nom
<quote>root</quote> soit reconnu, il doit y avoir des entrées adéquates dans les fichiers <filename>/etc/passwd</filename>
et <filename>/etc/group</filename>.</para>
42,6 → 28,10
 
<screen><userinput>cat &gt; ${CLFS}/etc/passwd &lt;&lt; "EOF"
<literal>root::&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
<literal>bin:x:&uid-bin;:&gid-bin;:/bin:/bin/false</literal>
<literal>daemon:x:&uid-daemon;:&gid-daemon;:/sbin:/bin/false</literal>
<literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>
<literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
EOF</userinput></screen>
 
<para os="b">Le mot de passe pour <systemitem class="username">root</systemitem>(le <quote>::</quote> utilisé ici n'est qu'un
49,23 → 39,9
 
<variablelist os="c">
 
<title>Utilisateurs supplémentaires que vous pourriez vouloir ajouter&nbsp;:</title>
<title>Utilisateurs supplémentaires que vous pourriez vouloir ajouter s'ils n'existent pas déjà&nbsp;:</title>
 
<varlistentry>
<term><literal>bin:x:&uid-bin;:&gid-bin;:bin:/bin:/bin/false</literal></term>
<listitem>
<para>Peut être utile pour la compatibilité avec des applications
héritées.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>daemon:x:&uid-daemon;:&gid-daemon;:daemon:/sbin:/bin/false</literal></term>
<listitem>
<para>Il est souvent recommandé d'utiliser l'ID d'un groupe ou d'un utilisateur non privilégiés pour l'exécution de démons, afin de
limiter leur accès au système.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>adm:x:&uid-adm;:&gid-adm;:adm:/var/adm:/bin/false</literal></term>
<listitem>
<para>Était utilisé pour des programmes qui effectuaient des tâches d'administration.</para>
102,12 → 78,6
informations de problèmes avec le serveur de messagerie</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>nobody:x:&uid-nobody;:&gid-nobody;:nobody:/:/bin/false</literal></term>
<listitem>
<para>Utilisé par NFS</para>
</listitem>
</varlistentry>
</variablelist>
 
<para>Créez le fichier <filename>${CLFS}/etc/group</filename> en lançant la commande suivante&nbsp;:</para>
128,20 → 98,20
video:x:&gid-video;:
utmp:x:&gid-utmp;:
usb:x:&gid-usb;:
cdrom:x:&gid-cdrom;:</literal>
cdrom:x:&gid-cdrom;:
adm:x:&gid-adm;:
messagebus:x:&gid-messagebus;:
systemd-journal:x:&gid-systemd-journal;:
mail:x:&gid-mail;:
wheel:x:&gid-wheel;:
nogroup:x:&gid-nogroup;:</literal>
EOF</userinput></screen>
 
<variablelist os="d">
 
<title>Groupes supplémentaires que vous pourriez vouloir ajouter</title>
<title>Groupes supplémentaires que vous pourriez vouloir ajouter s'ils n'existent pas déjà&nbsp;:</title>
 
<varlistentry>
<term><literal>adm:x:&gid-adm;:root,adm,daemon</literal></term>
<listitem>
<para>Tous les utilisateurs de ce groupe ont le droit de faire des tâches d'administration</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>console:x:&gid-console;:</literal></term>
<listitem>
<para>Ce groupe a un accès direct à la console</para>
154,12 → 124,6
</listitem>
</varlistentry>
<varlistentry>
<term><literal>mail:x:&gid-mail;:mail</literal></term>
<listitem>
<para>Utilisé par MTAs (Mail Transport Agents)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>news:x:&gid-news;:news</literal></term>
<listitem>
<para>Utilisé par le réseau de serveurs de nouvelles</para>
172,14 → 136,8
</listitem>
</varlistentry>
<varlistentry>
<term><literal>nogroup:x:&gid-nogroup;:</literal></term>
<term><literal>nobody:x:&gid-nogroup;:</literal></term>
<listitem>
<para>C'est le groupe par défaut utilisé par certains programmes qui n'ont pas besoin d'un groupe</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>nobody:x:&gid-nobody;:</literal></term>
<listitem>
<para>C'est utilisé par NFS</para>
</listitem>
</varlistentry>
186,24 → 144,10
</variablelist>
 
<para os="e">Les groupes créés ne font partie d'aucun standard&mdash;ce sont des groupes décidés d'une part par les exigences de la
configuration d'Eudev dans le système final, d'autre part par la convention couramment utilisée par un grand nombre de distributiods Linux
configuration de Systemd dans le système final, d'autre part par la convention couramment utilisée par un grand nombre de distributiods Linux
existantes. La <foreignphrase>Linux Standard Base</foreignphrase> (LSB, disponible sur <ulink url="http://www.linuxbase.org"/>) recommande
uniquement que, après le groupe <quote>root</quote> ayant l'identifieur de groupe (GID) 0, un groupe <quote>bin</quote> avec un GID de 1
soit présent. L'administrateur système peut choisir librement tout autre noms de groupe et GIDs, vu que les programmes bien écrits ne
dépendent pas des numéros GID mais utilisent plutôt le nom d'un groupe.</para>
 
<para os="f">Les programmes <command>login</command>, <command>agetty</command> et <command>init</command> (et d'autres) utilisent un
certain nombre de fichiers journal pour enregistrer des informations telles que ceux qui se sont connectés au système et quand. Néanmoins, ces
programmes n'écriront pas dans les fichiers journal s'ils n'existent pas déjà. Initialisez les fichiers journal et donnez-leur les bons
droits&nbsp;:</para>
 
<screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
 
<para>Le fichier <filename>/var/run/utmp</filename> enregistre les utilisateurs actuellement connectés. Le fichier
<filename>/var/log/wtmp</filename> enregistre toutes les connexions et les déconnexions. Le fichier
<filename>/var/log/lastlog</filename> enregistre le moment où chaque utilisateur s'est connecté pour la dernière fois. Le
fichier <filename>/var/log/btmp</filename> enregistre les tentatives de connexion erronnées.</para>
 
</sect1>
/trunk/clfs/boot/common/eudev.xml
12,58 → 12,300
 
<indexterm zone="ch-boot-eudev">
<primary sortas="a-eudev">eudev</primary>
<secondary>démarrage</secondary>
</indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
xpointer="xpointer(//*[@role='package'])"/>
<sect2 role="package">
<title/>
 
<para>Le paquet Eudev contient des programmes pour créer
dynamiquement des n&oelig;uds périphériques.</para>
 
</sect2>
 
<sect2 role="installation">
<title>Installation d'Eudev</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
xpointer="xpointer(//*[@os='a'])"/>
<para os="a">Préparez la compilation d'Eudev&nbsp;:</para>
 
<screen os="b"><userinput>BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib -lblkid" \
KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib -lkmod" \
LDFLAGS="-Wl,-rpath,/tools/lib:/lib" ./configure --prefix=/usr \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--with-rootprefix='' --enable-split-usr --sysconfdir=/etc \
--libexecdir=/lib --bindir=/sbin --sbindir=/sbin --libdir=/usr/lib \
--with-rootlibdir=/lib --disable-introspection --disable-gtk-doc-html \
--disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
<screen os="b"><userinput>./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-introspection --disable-gtk-doc-html \
--disable-gudev --disable-keymap --with-firmware-path=/tools/lib/firmware \
--enable-libkmod</userinput></screen>
 
<variablelist os="b1">
<title>Voici la signification des nouvelles options de configuration&nbsp;:</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
xpointer="xpointer(//*[@os='g'])"/>
<varlistentry>
<term><parameter>--disable-introspection --disable-gtk-doc-html
--disable-gudev --disable-keymap</parameter></term>
<listitem>
<para>Ces paramètres désactivent plusieurs fonctions inutiles pour le
système temporaire et ayant des dépendances supplémentaires.</para>
</listitem>
</varlistentry>
 
<screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
<varlistentry>
<term><parameter>--with-firmware-path=/tools/lib/firmware</parameter></term>
<listitem>
<para>Ceci permet à Eudev de charger le firmware
<filename class="directory">/tools/lib/firmware</filename> au lieu de
celui situé par défaut dans <filename class="directory">/lib/firmware</filename>.</para>
</listitem>
</varlistentry>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
xpointer="xpointer(//*[@os='i'])"/>
<varlistentry>
<term><parameter>--enable-libkmod</parameter></term>
<listitem>
<para>Permet à Eudev de charger des modules en utilisant directement
<filename class="libraryfile">libkmod</filename>.</para>
</listitem>
</varlistentry>
 
<screen os="k"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen>
</variablelist>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/eudev.xml"
xpointer="xpointer(//*[@os='r1'])"/>
<para os="c">Compilez le paquet&nbsp;:</para>
 
<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" \
> ${CLFS}/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
<screen os="d"><userinput>make</userinput></screen>
 
<para os="g">Installez le paquet&nbsp;:</para>
 
<screen os="h"><userinput>make install</userinput></screen>
 
<para os="i">Créez un répertoire pour le stockage des firmware qui peuvent $tre chargés par
<command>eudev</command>&nbsp;:</para>
 
<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
 
<para os="r1">Créez une règle de base pour qu'Eudev nomme correctement les
périphériques ethernet du système.</para>
 
<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
/tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
 
</sect2>
 
<sect2 role="content">
<title/>
<sect2 id="contents-eudev" role="content">
<title>Contenu d'Eudev</title>
 
<para>Les détails sur ce paquet sont situés dans <xref
linkend="contents-eudev" role="."/></para>
<segmentedlist>
<segtitle>Programmes installés</segtitle>
<segtitle>Bibliothèque installée</segtitle>
<segtitle>Répertoires installés</segtitle>
 
<seglistitem>
<seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
v4l_id, write_cd_rules, write_net_rules</seg>
<seg>libudev</seg>
<seg>/tools/etc/udev, /tools/lib/firmware, /tools/lib/udev</seg>
</seglistitem>
</segmentedlist>
 
<variablelist>
<bridgehead renderas="sect3">Descriptions courtes</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
 
<varlistentry id="udevadm-eudev">
<term><command>udevadm</command></term>
<listitem>
<para>Contrôle le comportement d'Eudev pendant son exécution,
demande les événements du noyau, gère la file des événements et offre
un débogage simple</para>
<indexterm zone="ch-system-eudev udevadm-eudev">
<primary sortas="b-udevadm-eudev">udevadm</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="udevd">
<term><command>udevd</command></term>
<listitem>
<para>Un démon qui réorganise les événements à chaud avant de les soumettre à
<command>udev</command>, évitant ainsi divers types de conditions</para>
<indexterm zone="ch-system-eudev udevd">
<primary sortas="b-udevd">udevd</primary>
</indexterm>
</listitem>
</varlistentry>
 
<!-- Start of Helpers -->
<varlistentry id="ata_id">
<term><command>ata_id</command></term>
<listitem>
<para>Fournit Eudev avec une chaîne unique et des informations
supplémentaires (uuid, label) pour un disque ATA</para>
<indexterm zone="ch-system-eudev ata_id">
<primary sortas="b-ata_id">ata_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="cdrom_id">
<term><command>cdrom_id</command></term>
<listitem>
<para>Affiche les possibilités d'un lecteur CD-ROM ou DVD-ROM</para>
<indexterm zone="ch-system-eudev cdrom_id">
<primary sortas="b-cdrom_id">cdrom_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="collect">
<term><command>collect</command></term>
<listitem>
<para>À partir de l'ID de l'uevent actuel et d'une liste d'IDs (de
tous les uevents cibles), enregistre l'ID actuel et indique si tous
les IDs cibles ont été enregistrés.</para>
<indexterm zone="ch-system-eudev collect">
<primary sortas="b-collect">collect</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="create_floppy_devices">
<term><command>create_floppy_devices</command></term>
<listitem>
<para>Crée tous les périphériques amovibles possibles basés sur
le type CMOS</para>
 
<indexterm zone="ch-system-eudev create_floppy_devices">
<primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="edd_id">
<term><command>edd_id</command></term>
<listitem>
<para>Identifie des lecteurs de disque x86 pour les appels <foreignphrase>Enhanced Disk
Drive</foreignphrase>.</para>
<indexterm zone="ch-system-eudev edd_id">
<primary sortas="b-edd_id">edd_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="firmware.sh">
<term><command>firmware.sh</command></term>
<listitem>
<para>Script pour charger le firmware d'un périphérique</para>
<indexterm zone="ch-system-eudev firmware.sh">
<primary sortas="b-firmware.sh">firmware.sh</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="fstab_import">
<term><command>fstab_import</command></term>
<listitem>
<para>Cherche une entrée dans <filename>/etc/fstab</filename> qui
correspond au périphérique actuel et fournit à Eudev ses informations.</para>
<indexterm zone="ch-system-eudev fstab_import">
<primary sortas="b-fstab_import">fstab_import</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="path_id">
<term><command>path_id</command></term>
<listitem>
<para>Fournit le chemin de matériel unique le plus court possible vers un
un périphérique</para>
<indexterm zone="ch-system-eudev path_id">
<primary sortas="b-path_id">path_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="scsi_id">
<term><command>scsi_id</command></term>
<listitem>
<para>Récupère ou génère un identifieur SCSI unique.</para>
<indexterm zone="ch-system-eudev scsi_id">
<primary sortas="b-scsi_id">scsi_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="usb_id">
<term><command>usb_id</command></term>
<listitem>
<para>Identifie un bloc de périphérique USB.</para>
<indexterm zone="ch-system-eudev usb_id">
<primary sortas="b-usb_id">usb_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<!-- End of Helpers -->
 
 
<varlistentry id="v4l_id">
<term><command>v4l_id</command></term>
<listitem>
<para>Détermine les possibilités V4L d'un périphérique donné.</para>
<indexterm zone="ch-system-eudev v4l_id">
<primary sortas="b-v4l_id">v4l_id</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="write_cd_rules">
<term><command>write_cd_rules</command></term>
<listitem>
<para>Un script qui génère des règles Eudev pour avoir des interfaces
réseaux au nom stabilisé.</para>
<indexterm zone="ch-system-eudev write_cd_rules">
<primary sortas="b-write_cd_rules">write_cd_rules</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="write_net_rules">
<term><command>write_net_rules</command></term>
<listitem>
<para>Un script qui génère des règles Eudev pour avoir des interfaces
réseaux au nom stabilisé.</para>
<indexterm zone="ch-system-eudev write_net_rules">
<primary sortas="b-write_net_rules">write_net_rules</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="libudev-eudev">
<term><filename class="libraryfile">libudev</filename></term>
<listitem>
<para>Une interface de bibliothèque avec les informations de périphérique
d'Eudev.</para>
<indexterm zone="ch-system-eudev libudev">
<primary sortas="c-libeudev">libeudev</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="etc-eudev">
<term><filename class="directory">/etc/udev</filename></term>
<listitem>
<para>Contient les fichiers de configuration <command>eudev</command>, les droits de périphérique et les règles
pour le nommage des périphériques</para>
<indexterm zone="ch-system-eudev etc-eudev">
<primary sortas="e-/etc/eudev">/etc/eudev</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="lib-eudev">
<term><filename class="directory">/lib/udev</filename></term>
<listitem>
<para>Contient les programmes d'aide de <command>eudev</command> et les périphériques statiques qui sont copiés..
dans /dev après le démarrage.</para>
<indexterm zone="ch-system-eudev lib-eudev">
<primary sortas="e-/lib/eudev">/lib/eudev</primary>
</indexterm>
</listitem>
</varlistentry>
 
</variablelist>
 
</sect2>
 
</sect1>
/trunk/clfs/boot/common/e2fsprogs.xml
34,8 → 34,7
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<screen os="aa"><userinput>PKG_CONFIG=true \
../configure --prefix=/tools \
<screen os="aa"><userinput>../configure --prefix=/tools \
--enable-elf-shlibs --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuidd</userinput></screen>
47,6 → 46,10
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='e2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='e3'])"/>
 
</variablelist>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
74,9 → 77,6
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='l'])"/>
 
<para os="ad">Créez des liens symboliques nécessaires pour un système amorçable&nbsp;:</para>
 
<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin</userinput></screen>
</sect2>
 
<sect2 role="content">
/trunk/clfs/boot/common/creatingdirs.xml
10,25 → 10,30
 
<title>Créer les répertoires</title>
 
<para os="a">Il est temps de créer une structure sur le système de
<note os="a">
<para>Vous devriez lancer les commandes dans la suite du livre en tant
qu'utilisateur <systemitem class="username">root</systemitem>. Vérifiez
que ${CLFS} est définie dans l'environnement de l'utilisateur
<systemitem class="username">root</systemitem> avant de poursuivre.</para>
</note>
 
<para os="b">Il est temps de créer une structure sur le système de
fichiers CLFS. Créez une arborescence de répertoires standard en lançant les
commandes suivantes&nbsp;:</para>
 
<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib/firmware,mnt}
mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
install -dv -m 0750 ${CLFS}/root
install -dv -m 1777 ${CLFS}{/var,}/tmp
ln -sv ../run ${CLFS}/var/run
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
for dir in ${CLFS}/usr{,/local}; do
ln -sv share/{man,doc,info} $dir
done</userinput></screen>
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}</userinput></screen>
 
<para os="c">Par défaut, les répertoires sont créés avec les droits 755, ce
<para os="d">Par défaut, les répertoires sont créés avec les droits 755, ce
qui n'est pas souhaitable pour tous les répertoires. Dans la commande ci-dessus,
deux modifications ont été
effectuées&nbsp;: une
36,7 → 41,7
et une autre pour les répertoires des fichiers
temporaires.</para>
 
<para os="d">Le premier changement de droit nous assure que n'importe qui ne
<para os="e">Le premier changement de droit nous assure que n'importe qui ne
pourra pas entrer dans le répertoire
<filename class="directory">/root</filename>&mdash;de façon identique à ce que ferait un
utilisateur pour son répertoire principal. Le deuxième changement assure que
46,7 → 51,7
des autres utilisateurs. Cette dernière interdiction est due au
<quote>sticky bit</quote>, le bit (1) le plus haut dans le masque 1777.</para>
 
<sect2 os="e">
<sect2 os="f">
<title>Remarques à propos de la conformité FHS</title>
 
<para>L'arborescence de répertoires est basée sur le standard FHS
/trunk/clfs/boot/common/introduction.xml
13,15 → 13,5
<para>Ce chapitre montre comment compléter la construction des outils
temporaire pour créer un système minimal qui sera utilisé pour démarrer la machine cible et pour construire les paquets du système
final.</para>
<para>Il y a quelques paquets supplémentaires à installer pour vous permettre de démarrer le système minimal. Certains de ces paquets
seront installés à la racine ou dans /usr sur la partition CLFS (${CLFS}/bin,
${CLFS}/usr/bin, ...), et non dans /tools, en utilisant l'option "DESTDIR" avec
make. Ceci imposera que l'utilisateur <systemitem class="username">clfs</systemitem> ait les droits d'écriture sur le
reste de la partition CLFS, donc vous aurez besoin de modifier temporairement le propriétaire de ${CLFS} pour qu'il appartienne à
l'utilisateur <systemitem class="username">clfs</systemitem>. Lancez la commande suivante en tant que
<systemitem class="username">root</systemitem>&nbsp;:</para>
 
<screen><userinput>chown -v clfs ${CLFS}</userinput></screen>
 
</sect1>
/trunk/clfs/boot/common/devices.xml
12,18 → 12,12
 
<indexterm zone="ch-boot-devices">
<primary sortas="e-/dev/*">/dev/*</primary>
<secondary>démarrage</secondary>
</indexterm>
 
<sect2>
<title>Créez les n&oelig;uds de périphérique initiaux</title>
 
<note os="a">
<para>Vous devriez exécuter les commandes du reste de ce livre en tant qu'utilisateur
<systemitem class="username">root</systemitem>. Vérifiez que ${CLFS} est
configuré dans l'environnement de l'utilisateur
<systemitem class="username">root</systemitem> avant de continuer.</para>
</note>
 
<para os="b">Quand le noyau démarre le système, il exige la présence de quelques n&oelig;ds de périphérique, en
particulier les périphériques <filename class="devicefile">console</filename> et
<filename class="devicefile">null</filename>. Nous allons créer les n&oelig;ds de périphérique sur le disque dur afin
31,16 → 25,9
monoutilisateur (d'où il résulte des droits restrictifs sur <filename class="devicefile">console</filename>). Créez ceux-
ci en lançant les commandes suivantes&nbsp;:</para>
 
<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
<screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen>
 
<para>Avant qu'udev ne démarre, un système de fichiers tmpfs est monté dans
<filename class="directory">/dev</filename> et les entrées précédentes ne sont plus disponibles. La commande suivante
crée des fichiers qui y sont copiés par le script de démarrage d'udev&nbsp;:</para>
 
<screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1
mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen>
 
</sect2>
 
</sect1>
/trunk/clfs/boot/common/shadow.xml
22,47 → 22,46
<sect2 role="installation">
<title>Installation de Shadow</title>
 
<para os="b">Désactivez l'installation du programme <command>groups</command>,
car Coreutils offre une meilleure version&nbsp;:</para>
<para os="a">Lancez la commande <command>sed</command> suivante pour désactiver
l'installation des programmes <command>groups</command> et
<command>nologin</command>, vu que de meilleures versions de ces programmes
sont fournies par d'autres paquets, et empêchez Shadow de définir le bit suid
sur les programmes qu'il installe&nbsp;:</para>
 
<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
<screen os="b"><userinput>cp -v src/Makefile.in{,.orig}
sed -e 's/groups$(EXEEXT) //' \
-e 's/= nologin$(EXEEXT)/= /' \
-e 's/\(^suidu*bins = \).*/\1/' \
src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
 
<para os="c">Dites à Shadow d'utiliser <command>passwd</command> de
<filename class="directory">/tools/bin</filename>&nbsp;:</para>
 
<para os="d">Préparez la compilation de Shadow&nbsp;:</para>
<screen os="d"><userinput>cat > config.cache &lt;&lt; "EOF"
shadow_cv_passwd_dir=/tools/bin
EOF</userinput></screen>
 
<screen os="e"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen>
<para os="e">Préparez la compilation de Shadow&nbsp;:</para>
 
<para os="f">Voici la signification des options de configure&nbsp;:</para>
<screen os="f"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
 
<variablelist os="g">
<varlistentry>
<term><parameter>--sysconfdir=/etc</parameter></term>
<listitem><para>Dit à Shadow d'installer ses fichiers de configuration
dans <filename class="directory">/etc</filename> et non dans
<filename class="directory">/tools/etc</filename>.</para></listitem>
</varlistentry>
</variablelist>
<para os="g">Compilez le paquet&nbsp;:</para>
 
<screen os="h"><userinput>make</userinput></screen>
 
<para os="h">Compilez le paquet&nbsp;:</para>
<para os="i">Ce paquet n'est pas fourni avec une suite de tests.</para>
 
<screen os="i"><userinput>make</userinput></screen>
<para os="j">Installez le paquet&nbsp;:</para>
 
<para os="j">Ce paquet n'est pas fourni avec une suite de tests.</para>
<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
 
<para os="k">Installez le paquet&nbsp;:</para>
 
<screen os="l"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
 
</sect2>
 
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont situés dans <xref
<para>Les détails sur ce paquet sont situés dans <xref
linkend="contents-shadow" role="."/></para>
</sect2>
 
/trunk/clfs/boot/common/createfiles.xml
10,25 → 10,143
 
<title>Créer les liens symboliques essentiels</title>
 
<para os="a">Certains programmes utilisent des chemins liés en dur à des programmes qui n'existent pas encore. Afin de satisfaire ces
<para os="a">Certains programmes utilisent des chemins liés en dur à des fichiers qui n'existent pas encore. Afin de satisfaire ces
programmes, créez un certain nombre de liens symboliques qui seront remplacés par des fichiers réels tout au long du chapitre suivant
après que le logiciel a été installé.</para>
 
<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
<screen os="b"><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
ln -sv bash ${CLFS}/bin/sh
ln -sv /run ${CLFS}/var/run</userinput></screen>
ln -sv /tools/sbin/init ${CLFS}/sbin
ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
 
<para os="b">Pour activer certains tests C++ dans les suites de test de Glibc et de Binutils, créez un répertoire et créez
quelques liens symboliques&nbsp;:</para>
<variablelist os="c">
<title>Voici la signification de chaque lien&nbsp;:</title>
 
<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,rm,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
ln -sv bash ${CLFS}/bin/sh</userinput></screen>
<varlistentry os="c1">
<term><parameter><filename>/bin/bash</filename></parameter></term>
<listitem>
<para>De nombreux scripts <command>bash</command> spécifient
<filename>/bin/bash</filename>.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c2">
<term><parameter><filename>/bin/cat</filename></parameter></term>
<listitem>
<para>Ce chemin est codé en dur dans le script de configuration de Glibc.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c3">
<term><parameter><filename>/bin/echo</filename></parameter></term>
<listitem>
<para>Ceci pour satisfaire un des tests de la suite de tests de Glibc
qui s'attend à avoir <filename>/bin/echo</filename>.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c4">
<term><parameter><filename>/bin/grep</filename></parameter></term>
<listitem>
<para>Ceci pour éviter une référence
<filename class="directory">/tools</filename> codée en dur dans Libtool.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c5">
<term><parameter><filename>/bin/login</filename></parameter></term>
<listitem>
<para>Le programme <command>agetty</command> attend un
<command>login</command> dans <filename class="directory">/bin</filename>.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c6">
<term><parameter><filename>/bin/pwd</filename></parameter></term>
<listitem>
<para>Certains scripts <command>configure</command>, en particulier celui
de Glibc, ont codé en dur ce chemin.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c7">
<term><parameter><filename>/bin/stty</filename></parameter></term>
<listitem>
<para>Ce chemin est codé en dur dans Expect, il est donc nécessaire pour
passer les suites de tests de Binutils et de GCC.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c8">
<term><parameter><filename>/usr/bin/file</filename></parameter></term>
<listitem>
<para>Les scripts <command>configure</command> de Binutils spécifient
cet emplacement de commande.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c9">
<term><parameter><filename>/usr/lib/libgcc_s.so{,.1}</filename></parameter></term>
<listitem>
<para>Glibc en a besoin pour que la bibliothèque pthreads fonctionne.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c10">
<term><parameter><filename>/usr/lib/libstdc++{,.6}</filename></parameter></term>
<listitem>
<para>Ceci est nécessaire pour plusieurs tests de la suite de tests de
Glibc et pour le support C++ de GMP.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c11">
<term><parameter><filename>/usr/lib/libstdc++.la</filename></parameter></term>
<listitem>
<para>Cela empêche une référence à <filename class="directory">/tools</filename>
qui serait sinon dans
<filename>/usr/lib/libstdc++.la</filename> après l'installation de
GCC.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c12">
<term><parameter><filename>/bin/sh</filename></parameter></term>
<listitem>
<para>De nombreux scripts shell codent en dur <filename>/bin/sh</filename>.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c13">
<term><parameter><filename>/sbin/init</filename></parameter></term>
<listitem>
<para>C'est là que le noyau attend <command>init</command>.</para>
</listitem>
</varlistentry>
 
<varlistentry os="c14">
<term><parameter><filename>/etc/{login.{access,defs},limits}</filename></parameter></term>
<listitem>
<para>Ce sont les fichiers de configuration utilisés par Shadow et ils
sont censés se trouver dans <filename class="directory">/etc</filename>, pour
que les programmes tels que <command>login</command> et <command>su</command>
fonctionnent.</para>
</listitem>
</varlistentry>
 
</variablelist>
 
<para os="d">Historiquement, Linux maintient une liste des systèmes de fichiers
montés dans le fichier <filename>/etc/mtab</filename>. Les noyaux modernes
maintiennent cette liste en inteqoe et la présentent à l'utilisateur via le
système de fichiers <filename class="directory">/proc</filename>. Pour
satisfaire ces outils qui attendent la présence de <filename>/etc/mtab</filename>,
créez le lien symbolique suivant&nbsp;:</para>
 
<screen os="e"><userinput>ln -sv /proc/self/mounts ${CLFS}/etc/mtab</userinput></screen>
 
</sect1>
/trunk/clfs/boot/common/sysvinit.xml
12,112 → 12,240
 
<indexterm zone="ch-boot-sysvinit">
<primary sortas="a-Sysvinit">Sysvinit</primary>
<secondary>démarrage</secondary>
</indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/sysvinit.xml"
xpointer="xpointer(//*[@role='package'])"/>
<sect2 role="package">
<title/>
 
<para>Le paquet Sysvinit contient des programmes de contrôle du
démarrage, de l'exécution et de l'arrêt de votre système.</para>
 
</sect2>
 
<sect2 role="installation">
<title>Installation de Sysvinit</title>
 
<para os="p1">Appliquez un correctif pour empêcher l'installation de programmes
inutiles et permettre à Sysvinit de s'installer dans
<filename class="directory">/tools</filename>&nbsp;:</para>
 
<para os="aa">Les modifications suivantes aident à localiser des fichiers
spécifiques à cette construction en particulier&nbsp;:</para>
<screen os="p2"><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-tools_updates-1.patch</userinput></screen>
 
<screen os="ab"><userinput>cp -v src/Makefile{,.orig}
sed -e 's,/usr/lib,/tools/lib,g' \
src/Makefile.orig > src/Makefile</userinput></screen>
<para os="c">Compilez le paquet&nbsp;:</para>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/sysvinit.xml"
xpointer="xpointer(//*[@os='c'])"/>
<screen os="d"><userinput>make -C src clobber
make -C src</userinput></screen>
 
<screen os="ac"><userinput>make -C src clobber
make -C src CC="${CC}"</userinput></screen>
<para os="e">Installez le paquet&nbsp;:</para>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/sysvinit.xml"
xpointer="xpointer(//*[@os='e'])"/>
<screen os="ad"><userinput>make -C src ROOT=/tools install</userinput></screen>
 
<screen os="ad"><userinput>make -C src ROOT=${CLFS} install</userinput></screen>
 
</sect2>
 
<sect2 id="conf-tools-sysvinit" role="configuration">
<sect2 id="conf-sysvinit" role="configuration">
<title>Configurer Sysvinit</title>
 
<indexterm zone="conf-tools-sysvinit">
<indexterm zone="conf-sysvinit">
<primary sortas="a-Sysvinit">Sysvinit</primary>
<secondary>démarrage, configuration</secondary>
</indexterm>
<secondary>configuration</secondary></indexterm>
 
<indexterm zone="conf-tools-sysvinit">
<indexterm zone="conf-sysvinit">
<primary sortas="e-/etc/inittab">/etc/inittab</primary>
</indexterm>
 
<para>Créez un nouveau <filename>${CLFS}/etc/inittab</filename> en
exécutant ce qui suit&nbsp;:</para>
<para>Créez un nouveau fichier <filename>/tools/etc/inittab</filename> en lançant ce qui suit&nbsp;:</para>
 
<screen><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
<literal># Début de /etc/inittab
<screen><userinput>cat &gt; /tools/etc/inittab &lt;&lt; "EOF"
<literal># Début de /tools/etc/inittab
 
id:3:initdefault:
 
si::sysinit:/etc/rc.d/init.d/rc sysinit
si::sysinit:/tools/etc/rc.d/init.d/rc sysinit
 
l0:0:wait:/etc/rc.d/init.d/rc 0
l1:S1:wait:/etc/rc.d/init.d/rc 1
l2:2:wait:/etc/rc.d/init.d/rc 2
l3:3:wait:/etc/rc.d/init.d/rc 3
l4:4:wait:/etc/rc.d/init.d/rc 4
l5:5:wait:/etc/rc.d/init.d/rc 5
l6:6:wait:/etc/rc.d/init.d/rc 6
l0:0:wait:/tools/etc/rc.d/init.d/rc 0
l1:S1:wait:/tools/etc/rc.d/init.d/rc 1
l2:2:wait:/tools/etc/rc.d/init.d/rc 2
l3:3:wait:/tools/etc/rc.d/init.d/rc 3
l4:4:wait:/tools/etc/rc.d/init.d/rc 4
l5:5:wait:/tools/etc/rc.d/init.d/rc 5
l6:6:wait:/tools/etc/rc.d/init.d/rc 6
 
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
ca:12345:ctrlaltdel:/tools/sbin/shutdown -t1 -a -r now
 
su:S016:once:/sbin/sulogin
su:S016:once:/tools/sbin/sulogin
</literal>
EOF</userinput></screen>
 
<para>La commande suivante ajoute les terminaux virtuels standards à
<filename>${CLFS}/etc/inittab</filename>. Si votre système n'a qu'une
console série, sautez la commande suivante&nbsp;:</para>
<para>La commande suivante ajoute les terminaux virtuels standards à
<filename>/tools/etc/inittab</filename>. Si votre système n'a qu'une console série,
passez la commande suivante&nbsp;:</para>
 
<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
<literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600
2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600
3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600
4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600
5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600
6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600
<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
<literal>1:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty1 9600
2:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty2 9600
3:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty3 9600
4:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty4 9600
5:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty5 9600
6:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty6 9600
</literal>
EOF</userinput></screen>
 
<para>Si votre système a une console en série, lancez la commande suivante
pour ajouter l'entrée à <filename>${CLFS}/etc/inittab</filename>.</para>
<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
<literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100
<para>Si votre système a une console série, lancez la commande suivante
pour ajouter l'entrée à <filename>/tools/etc/inittab</filename>&nbsp;:</para>
 
<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
<literal>c0:12345:respawn:/tools/sbin/agetty --noclear 115200 ttyS0 vt100
</literal>
EOF</userinput></screen>
 
<para>Enfin, ajoutez une fin de ligne à
<filename>${CLFS}/etc/inittab</filename>.</para>
<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
<literal># End /etc/inittab</literal>
<para>Enfin, ajoutez la ligne de fin à <filename>/tools/etc/inittab</filename>&nbsp;:</para>
 
<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
<literal># Fin de /tools/etc/inittab</literal>
EOF</userinput></screen>
 
<para>L'option <parameter>-I '\033(K'</parameter> dit à
<command>agetty</command> d'envoyer cette séquence d'échappement au terminal avant de faire quoique ce soit. Cette
séquence d'échappement bascule l'encodage de la console défini par l'utilisateur, qui peut $tre modifié en lançant
le programme <command>setfont</command>. Le script de démarrage <command>console</command>
du paquet CLFS-Bootscripts appelle le programme
<command>setfont</command> pendant le démarrage du système. L'envoi de cette séquence d'échappement est nécessaire pour
les gens qui utilisent des polices d'écran non ISO 8859-1,
mais il n'affecte pas les anglophones d'origine.</para>
 
</sect2>
 
<sect2 role="content">
<title/>
<sect2 id="contents-sysvinit" role="content">
<title>Contenu de Sysvinit</title>
 
<para>Les détails sur ce paquet sont situés dans <xref
linkend="contents-sysvinit" role="."/></para>
<segmentedlist>
<segtitle>Programmes installés</segtitle>
 
<seglistitem>
<seg>bootlogd, fstab-decode, halt, init, killall5,
poweroff (link to halt), reboot (link to halt), runlevel,
shutdown, et telinit (link to init)</seg>
</seglistitem>
</segmentedlist>
 
<variablelist>
<bridgehead renderas="sect3">Descriptions courtes</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
 
<varlistentry id="bootlogd">
<term><command>bootlogd</command></term>
<listitem>
<para>Trace les messages de démarrage dans le journal</para>
<indexterm zone="ch-system-sysvinit bootlogd">
<primary sortas="b-bootlogd">bootlogd</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="fstab-decode">
<term><command>fstab-decode</command></term>
<listitem>
<para>Lance une commande avec des arguments encodés fstab</para>
<indexterm zone="ch-system-sysvinit fstab-decode">
<primary sortas="b-fstab-decode">fstab-decode</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="halt-sysv">
<term><command>halt</command></term>
<listitem>
<para>Lance normalement <command>shutdown</command> avec l'option
<parameter>-h</parameter>, sauf s'il est déjà au niveau d'exécution 0, puis il
demande au noyau d'arrêter le système. Mais, tout d'abord, il note dans le
fichier <filename>/var/log/wtmp</filename> que le système est en cours d'arrêt</para>
<indexterm zone="ch-system-sysvinit halt-sysv">
<primary sortas="b-halt-sysv">halt</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="init-sysv">
<term><command>init</command></term>
<listitem>
<para>Le premier processus à être exécuté lorsque le noyau a initialisé le
matériel et qui prend la main sur le processus de démarrage et démarre
tous les processus qui lui ont été indiqués</para>
<indexterm zone="ch-system-sysvinit init-sysv">
<primary sortas="b-init-sysv">init</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="killall5">
<term><command>killall5</command></term>
<listitem>
<para>Envoie un signal à tous les processus sauf les processus de sa propre
session, de façon à ne pas tuer le shell ayant lancé le script qui l'a appelé</para>
<indexterm zone="ch-system-sysvinit killall5">
<primary sortas="b-killall5">killall5</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="poweroff-sysv">
<term><command>poweroff</command></term>
<listitem>
<para>Indique au noyau d'arrêter le système et de couper l'ordinateur (voir
<command>halt</command>)</para>
<indexterm zone="ch-system-sysvinit poweroff-sysv">
<primary sortas="b-poweroff-sysv">poweroff</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="reboot-sysv">
<term><command>reboot</command></term>
<listitem>
<para>Indique au noyau de redémarrer le système (voir
<command>halt</command>)</para>
<indexterm zone="ch-system-sysvinit reboot-sysv">
<primary sortas="b-reboot-sysv">reboot</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="runlevel-sysv">
<term><command>runlevel</command></term>
<listitem>
<para>Indique le niveau d'exécution actuel et précédent comme précisé dans
l'enregistrement du dernier niveau d'exécution dans <filename>/var/run/utmp</filename></para>
<indexterm zone="ch-system-sysvinit runlevel-sysv">
<primary sortas="b-runlevel-sysv">runlevel</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="shutdown-sysv">
<term><command>shutdown</command></term>
<listitem>
<para>Arrête proprement le système en le signalant à tous les processus et à
tous les utilisateurs connectés</para>
<indexterm zone="ch-system-sysvinit shutdown-sysv">
<primary sortas="b-shutdown-sysv">shutdown</primary>
</indexterm>
</listitem>
</varlistentry>
 
<varlistentry id="telinit-sysv">
<term><command>telinit</command></term>
<listitem>
<para>Indique à <command>init</command> dans quel niveau d'exécution
entrer</para>
<indexterm zone="ch-system-sysvinit telinit-sysv">
<primary sortas="b-telinit-sysv">telinit</primary>
</indexterm>
</listitem>
</varlistentry>
 
</variablelist>
 
</sect2>
 
</sect1>
/trunk/clfs/boot/common/kmod.xml
22,16 → 22,34
<sect2 role="installation">
<title>Installation de Kmod</title>
 
<para os="s1">Le <command>sed</command> suivant passe l'emplacement par
défaut de recherche des modules par Kmod à
<filename class="directory">/tools/lib/modules</filename>&nbsp;:</para>
 
<screen os="s2"><userinput>cp -v libkmod/libkmod.c{,.orig}
sed '/dirname_default_prefix /s@/lib/modules@/tools&amp;@' \
libkmod/libkmod.c.orig &gt; libkmod/libkmod.c</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib -llzma" \
zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \
./configure --prefix=/tools --bindir=/bin \
--build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib \
--disable-manpages</userinput></screen>
<screen os="b"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib</userinput></screen>
 
<variablelist os="c">
<title>Voici la signification des nouvelles options de configuration&nbsp;:</title>
 
<varlistentry>
<term><parameter>--with-zlib --with-xz</parameter></term>
<listitem>
<para>Ceci permet au paquet Kmod de gérer les modules noyau compressés en
zlib et XZ.</para>
</listitem>
</varlistentry>
 
</variablelist>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='d'])"/>
44,18 → 62,16
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='g'])"/>
 
<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
<screen os="h"><userinput>make install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='i'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='i'])"/>
 
<screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
ln -sv ../bin/kmod ${CLFS}/sbin/depmod
ln -sv ../bin/kmod ${CLFS}/sbin/insmod
ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
<screen os="j"><userinput>ln -sfv kmod /tools/bin/lsmod
for tool in depmod insmod modprobe modinfo rmmod; do
ln -sv ../bin/kmod /tools/sbin/${tool}
done</userinput></screen>
 
</sect2>
 
/trunk/clfs/boot/common/howtoview.xml
0,0 → 1,46
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
]>
 
<sect1 id="ch-boot-how-to-view">
<?dbhtml filename="how-to-view.html"?>
 
<title>Comment lire l'ouvrage</title>
 
<para>Vraisemblablement, vous utilisez un navigateur Web ou un lecteur PDF pour
lire le livre CLFS jusqu'à présent. Or, le système temporaire dans
<filename class="directory">/tools</filename> n'en a pas, vous devrez conc
trouver une manière de suivre le livre après avoir démarré dans l'environnement
de construction temporaire. Les solutions possibles sont notamment&nbsp;:</para>
 
<itemizedlist>
 
<listitem>
<para>Ouvrir tout simplement le livre sur un autre ordinateur, voire en
lire une version imprimée, mais l'inconvénient est que vous ne pouvez pas
copier/coller les commandes.</para>
</listitem>
 
<listitem>
<para>Convertir le livre CLFS en texte brut, vous permettant ainsi de le lire
avec <command>more</command> ou <command>view</command>, en utilisant
une commande telle que la suivante&nbsp;:</para>
 
<screen><userinput>lynx -dump /path/to/clfs/book.html &gt; ${CLFS}/root/CLFS-book.txt</userinput></screen>
 
</listitem>
 
<listitem>
<para>Effectuer votre compilation croisée et installer des programmes
supplémentaires avant de démarrer, tels que Lynx ou Links pour lire
le livre, ou Dropbear pour permettre une identification à distance.
Voir le site des astuces CLFS sur <ulink url="&hints-root;"/> pour plus de
suggestions par d'autres utilisateurs.</para>
</listitem>
 
</itemizedlist>
 
</sect1>
/trunk/clfs/boot/mips-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,23 → 12,24
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/sparc-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,23 → 12,24
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/ppc64/powerpc-utils.xml
File deleted
/trunk/clfs/boot/ppc64/hfsutils.xml
File deleted
/trunk/clfs/boot/ppc64/util-linux-32.xml
File deleted
/trunk/clfs/boot/ppc64/e2fsprogs.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
38,9 → 38,9
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<para>When cross-compiling, <command>configure</command> cannot
determine sizes and assumes short=2, int=4, long=4, long long=8. This is
not correct for PowerPC64. Adjust the values with:</para>
<para>When cross-compiling, <command>configure</command> cannot determine
data type sizes and assumes short=2, int=4, long=4, long long=8.
This is not correct for PowerPC64. Adjust the values with:</para>
 
<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
53,8 → 53,7
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<screen os="aa"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
../configure --prefix=/tools --enable-elf-shlibs \
<screen os="aa"><userinput>../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuidd --cache-file=config.cache</userinput></screen>
64,13 → 63,11
xpointer="xpointer(//*[@os='e'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../64/e2fsprogs.xml"
href="../multilib/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
 
<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs
make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \
STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/</userinput></screen>
<screen os="g"><userinput>make libs
make -C e2fsck/</userinput></screen>
 
<para os="i">Install the e2fsck binary:</para>
 
84,14 → 81,6
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='l'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='ad'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='ae'])"/>
 
</sect2>
 
<sect2 role="content">
/trunk/clfs/boot/ppc64/yaboot-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
/trunk/clfs/boot/ppc64/yaboot.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
/trunk/clfs/boot/ppc64/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
35,6 → 35,14
xpointer="xpointer(//*[@os='m1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
64,18 → 72,10
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
82,7 → 82,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
92,7 → 92,8
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/ppc64/e2fsprogs-libs.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
30,9 → 30,9
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<para>When cross-compiling configure cannot determine sizes and assumes
short=2, int=4, long=4, long long=8. This is not correct for PowerPC64.
Adjust the values with:</para>
<para>When cross-compiling, <command>configure</command> cannot determine
data type sizes and assumes short=2, int=4, long=4, long long=8.
This is not correct for PowerPC64. Adjust the values with:</para>
 
<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
45,7 → 45,7
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<screen os="aa"><userinput>CC="${CC} ${BUILD32}" PKG_CONFIG=true \
<screen os="aa"><userinput>CC="${CC} ${BUILD32}" \
../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
56,11 → 56,12
xpointer="xpointer(//*[@os='e'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../64/e2fsprogs.xml"
href="../multilib/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
 
<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='g'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
/trunk/clfs/boot/mips64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,24 → 12,25
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/sparc64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,24 → 12,25
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/x86_64/flags.xml
File deleted
/trunk/clfs/boot/x86_64/kernel.xml
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
35,6 → 35,14
ELF and emulations for 32bit ELF into the kernel.</para>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
64,18 → 72,10
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
82,7 → 82,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
92,7 → 92,8
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v arch/x86_64/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v arch/x86_64/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/sparc64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,24 → 12,25
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/mips64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,24 → 12,25
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/ppc-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,24 → 12,25
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/powerpc-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/ppc64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,25 → 12,26
<title>If You Are Going to Boot</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/powerpc-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/yaboot-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/powerpc-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/yaboot-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
/trunk/clfs/boot/x86_64-64-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,23 → 12,24
<title>Si vous allez redémarrer</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/grub-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
</chapter>
/trunk/clfs/boot/x86-chapter.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
12,22 → 12,23
<title>Si vous allez redémarrer</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
 
</chapter>
/trunk/clfs/boot/sparc/fstab.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
12,6 → 12,7
 
<indexterm zone="ch-boot-fstab">
<primary sortas="e-/etc/fstab">/etc/fstab</primary>
<secondary>boot</secondary>
</indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
26,12 → 27,8
 
/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
none /proc/openprom openpromfs defaults 0 0
# End /etc/fstab</literal>
EOF</userinput></screen>
/trunk/clfs/boot/sparc/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
31,6 → 31,14
xpointer="xpointer(//*[@os='a'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
60,18 → 68,10
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
78,7 → 78,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
88,7 → 88,8
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/sparc/elftoaout.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,7 → 20,7
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de ELFtoaout</title>
<title>Installation of ELFtoaout</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/sparc/elftoaout.xml"
34,7 → 34,7
 
<screen><userinput>make</userinput></screen>
 
<para>Installez le paquet&nbsp;:</para>
<para>Install the package:</para>
 
<screen><userinput>install -v -m 0755 -s elftoaout /cross-tools/bin</userinput></screen>
 
43,7 → 43,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref
<para>Details on this package are located in <xref
linkend="contents-elftoaout" role="."/></para>
 
</sect2>
/trunk/clfs/boot/sparc/silo-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
32,7 → 32,8
 
<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
 
<screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile</userinput></screen>
<screen os="ad"><userinput>cp -v common/Makefile{,.orig}
sed -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile.orig &gt; common/Makefile</userinput></screen>
 
<para os="af">Compile the bin2h and util binaries for the host.</para>
 
43,7 → 44,7
<varlistentry>
<term><parameter>CC=cc</parameter></term>
<listitem>
<para>Overwrites the default value of <command>gcc -m32</command> which will fail
<para>Overwrites the default value of <command>gcc -m32</command> which will fail
to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
</listitem>
</varlistentry>
/trunk/clfs/boot/sparc/silo.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
16,7 → 16,7
</indexterm>
 
<para os="a">This is for the configuration of <command>silo</command>, similar
to what is in bootscripts.</para>
to what is in boot-scripts.</para>
 
<screen><userinput>cat &gt; ${CLFS}/etc/silo.conf &lt;&lt; "EOF"
<literal># Begin /etc/silo.conf
24,7 → 24,7
root = /dev/sda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section
 
image = /boot/clfskernel-&linux-version;
image = /tools/boot/vmlinuz-clfs-&linux-version2;
label = linux
# End /etc/silo.conf</literal>
EOF</userinput></screen>
/trunk/clfs/boot/mips/colo-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,7 → 20,7
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de Colo</title>
<title>Installation of Colo</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/mips/colo.xml"
36,6 → 36,13
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/mips/colo.xml"
xpointer="xpointer(//*[@os='s1'])"/>
 
<screen os="s2"><userinput>cp -v stage2/Makefile{,.orig}
sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig &gt; stage2/Makefile</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/mips/colo.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<screen os="aa"><userinput>cd tools/elf2rfx
47,8 → 54,8
href="../../final-system/mips/colo.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<screen os="ab"><userinput>cp -v chain/colo-chain.elf ${CLFS}/boot/vmlinux
gzip -9 ${CLFS}/boot/vmlinux</userinput></screen>
<screen os="ab"><userinput>cp -v chain/colo-chain.elf /tools/boot/vmlinux
gzip -9 /tools/boot/vmlinux</userinput></screen>
 
</sect2>
 
55,7 → 62,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref
<para>Details on this package are located in <xref
linkend="contents-colo" role="."/></para>
 
</sect2>
/trunk/clfs/boot/mips/colo.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
32,8 → 32,8
#
# load linux
#
lcd 'Booting &linux-version;...'
load vmlinux-&linux-version;.gz
lcd 'Booting &linux-version2;...'
load vmlinux-&linux-version2;.gz
execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe
EOF</userinput></screen>
 
/trunk/clfs/boot/mips/bootloaders.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
17,6 → 17,6
this build method, we recommend to do a netboot. Information about
netbooting can be found at the link below.</para>
 
<para><ulink url="http://documents.jg555.com/netboot"/></para>
<para><ulink url="&hints-root;Category:Netboot"/></para>
 
</sect1>
/trunk/clfs/boot/mips/creatingdirs.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
18,6 → 18,10
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<para>These entries are needed for the RaQ2 bootloader. Only use these
if you are utilizing the Colo bootloader:</para>
 
26,10 → 30,6
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='c'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='d'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
/trunk/clfs/boot/mips/kernel.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
8,7 → 8,7
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
 
<title>Linux-&linux-version;</title>
<title>Linux-&linux-version2;</title>
 
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
27,11 → 27,19
xpointer="xpointer(//*[@os='aa'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='a'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='p1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p2'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
60,18 → 68,10
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='p'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='q'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
 
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
78,7 → 78,7
xpointer="xpointer(//*[@os='s2'])"/>
 
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
88,8 → 88,9
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
 
<screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
<screen><userinput>mkdir -pv /tools/boot
cp -v vmlinux /tools/boot/vmlinux-&linux-version2;
gzip -9 /tools/boot/vmlinux-&linux-version2;</userinput></screen>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
/trunk/clfs/boot/sparc64-64/flags.xml
File deleted
/trunk/clfs/boot/sparc64-64/silo-build.xml
1,4 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
20,7 → 20,7
xpointer="xpointer(//*[@role='package'])"/>
 
<sect2 role="installation">
<title>Installation de Silo</title>
<title>Installation of Silo</title>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/sparc/silo.xml"
57,7 → 57,7
<sect2 role="content">
<title/>
 
<para>Les détails sur ce paquet sont disponibles dans <xref
<para>Details on this package are located in <xref
linkend="contents-silo" role="."/></para>
 
</sect2>
/trunk/clfs/maj
1,3664 → 1,3
diff -ru /home/jp/a/BOOK/boot/common/createfiles.xml BOOK/boot/common/createfiles.xml
--- /home/jp/a/BOOK/boot/common/createfiles.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/createfiles.xml 2014-10-03 20:44:43.892339260 +0200
@@ -10,17 +10,142 @@
<title>Creating Essential Symlinks</title>
- <para os="a">Some programs use hard-wired paths to programs which do not exist
+ <para os="a">Some programs use hard-wired paths to files which do not exist
yet. In order to satisfy these programs, create a number of symbolic
links which will be replaced by real files throughout the course of
the next chapter after the software has been installed.</para>
-<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
-ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
+<screen os="b"><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
-ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
+ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
+sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
ln -sv bash ${CLFS}/bin/sh
-ln -sv /run ${CLFS}/var/run</userinput></screen>
+ln -sv /tools/sbin/init ${CLFS}/sbin
+ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
+
+ <variablelist os="c">
+ <title>The purpose of each link:</title>
+
+ <varlistentry os="c1">
+ <term><parameter><filename>/bin/bash</filename></parameter></term>
+ <listitem>
+ <para>Many <command>bash</command> scripts specify
+ <filename>/bin/bash</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c2">
+ <term><parameter><filename>/bin/cat</filename></parameter></term>
+ <listitem>
+ <para>This pathname is hard-coded into Glibc's configure script.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c3">
+ <term><parameter><filename>/bin/echo</filename></parameter></term>
+ <listitem>
+ <para>This is to satisfy one of the tests in Glibc's test suite, which
+ expects <filename>/bin/echo</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c4">
+ <term><parameter><filename>/bin/grep</filename></parameter></term>
+ <listitem>
+ <para>This to avoid a hard-coded
+ <filename class="directory">/tools</filename> reference in Libtool.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c5">
+ <term><parameter><filename>/bin/login</filename></parameter></term>
+ <listitem>
+ <para>The <command>agetty</command> program expects to find
+ <command>login</command> in <filename class="directory">/bin</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c6">
+ <term><parameter><filename>/bin/pwd</filename></parameter></term>
+ <listitem>
+ <para>Some <command>configure</command> scripts, particularly Glibc's,
+ have this pathname hard-coded.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c7">
+ <term><parameter><filename>/bin/stty</filename></parameter></term>
+ <listitem>
+ <para>This pathname is hard-coded into Expect, therefore it is needed
+ for Binutils and GCC test suites to pass.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c8">
+ <term><parameter><filename>/usr/bin/file</filename></parameter></term>
+ <listitem>
+ <para>Binutils' <command>configure</command> scripts specify this
+ command location.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c9">
+ <term><parameter><filename>/usr/lib/libgcc_s.so{,.1}</filename></parameter></term>
+ <listitem>
+ <para>Glibc needs this for the pthreads library to work.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c10">
+ <term><parameter><filename>/usr/lib/libstdc++{,.6}</filename></parameter></term>
+ <listitem>
+ <para>This is needed by several tests in Glibc's test suite, as well as
+ for C++ support in GMP.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c11">
+ <term><parameter><filename>/usr/lib/libstdc++.la</filename></parameter></term>
+ <listitem>
+ <para>This prevents a <filename class="directory">/tools</filename>
+ reference that would otherwise be in
+ <filename>/usr/lib/libstdc++.la</filename> after GCC is installed.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c12">
+ <term><parameter><filename>/bin/sh</filename></parameter></term>
+ <listitem>
+ <para>Many shell scripts hard-code <filename>/bin/sh</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c13">
+ <term><parameter><filename>/sbin/init</filename></parameter></term>
+ <listitem>
+ <para>This is where the kernel expects to find <command>init</command>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry os="c14">
+ <term><parameter><filename>/etc/{login.{access,defs},limits}</filename></parameter></term>
+ <listitem>
+ <para>These are configuration files used by Shadow and are expected to
+ be found in <filename class="directory">/etc</filename>, for programs
+ such as <command>login</command> and <command>su</command> to work.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ <para os="d">Historically, Linux maintains a list of the mounted file systems
+ in the file <filename>/etc/mtab</filename>. Modern kernels maintain this list
+ internally and expose it to the user via the
+ <filename class="directory">/proc</filename> filesystem. To satisfy utilities
+ that expect the presence of <filename>/etc/mtab</filename>, create the
+ following symbolic link:</para>
+
+<screen os="e"><userinput>ln -sv /proc/self/mounts ${CLFS}/etc/mtab</userinput></screen>
</sect1>
diff -ru /home/jp/a/BOOK/boot/common/creatingdirs.xml BOOK/boot/common/creatingdirs.xml
--- /home/jp/a/BOOK/boot/common/creatingdirs.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/creatingdirs.xml 2014-10-03 20:44:43.892339260 +0200
@@ -10,30 +10,36 @@
<title>Creating Directories</title>
- <para os="a">It is time to create some structure in the CLFS file system. Create a
+ <note os="a">
+ <para>The commands in the remainder of the book should be run as
+ the <systemitem class="username">root</systemitem> user. Check
+ that ${CLFS} is set in the
+ <systemitem class="username">root</systemitem> user&rsquo;s environment
+ before proceeding.</para>
+ </note>
+
+ <para os="b">It is time to create some structure in the CLFS file system. Create a
standard directory tree by issuing the following commands:</para>
-<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
+<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib/firmware,mnt}
mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
install -dv -m 0750 ${CLFS}/root
install -dv -m 1777 ${CLFS}{/var,}/tmp
+ln -sv ../run ${CLFS}/var/run
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
-mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
-for dir in ${CLFS}/usr{,/local}; do
- ln -sv share/{man,doc,info} $dir
-done</userinput></screen>
+mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}</userinput></screen>
- <para os="c">Directories are, by default, created with permission mode 755,
+ <para os="d">Directories are, by default, created with permission mode 755,
but this is not desirable for all directories. In the commands above,
two changes are made&mdash;one to the home directory of user
<systemitem class="username">root</systemitem>, and another to the
directories for temporary files.</para>
- <para os="d">The first mode change ensures that not just anybody can enter
+ <para os="e">The first mode change ensures that not just anybody can enter
the <filename class="directory">/root</filename> directory&mdash;the
same as a normal user would do with his or her home directory. The
second mode change makes sure that any user can write to the
@@ -43,7 +49,7 @@
by the so-called <quote>sticky bit,</quote> the highest bit (1) in the
1777 bit mask.</para>
- <sect2 os="e">
+ <sect2 os="f">
<title>FHS Compliance Note</title>
<para>The directory tree is based on the Filesystem Hierarchy Standard
diff -ru /home/jp/a/BOOK/boot/common/devices.xml BOOK/boot/common/devices.xml
--- /home/jp/a/BOOK/boot/common/devices.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/devices.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,19 +12,12 @@
<indexterm zone="ch-boot-devices">
<primary sortas="e-/dev/*">/dev/*</primary>
+ <secondary>boot</secondary>
</indexterm>
<sect2>
<title>Creating Initial Device Nodes</title>
- <note os="a">
- <para>The commands in the remainder of the book should be run as
- the <systemitem class="username">root</systemitem> user. Check
- that ${CLFS} is set in the
- <systemitem class="username">root</systemitem> user&rsquo;s environment
- before proceeding.</para>
- </note>
-
<para os="b">When the kernel boots the system, it requires the presence
of a few device nodes, in particular the <filename
class="devicefile">console</filename> and <filename
@@ -35,16 +28,8 @@
<filename class="devicefile">console</filename>). Create these by running
the following commands:</para>
-<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
-mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
-
- <para>Before udev starts, a tmpfs filesystem is mounted over
- <filename class="directory">/dev</filename> and the previous entries are
- no longer available. The following command creates files that are copied
- over by the udev bootscript:</para>
-
-<screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1
-mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen>
+<screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
+mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/boot/common/e2fsprogs.xml BOOK/boot/common/e2fsprogs.xml
--- /home/jp/a/BOOK/boot/common/e2fsprogs.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/e2fsprogs.xml 2014-10-03 20:44:43.892339260 +0200
@@ -34,8 +34,7 @@
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
-<screen os="aa"><userinput>PKG_CONFIG=true \
- ../configure --prefix=/tools \
+<screen os="aa"><userinput>../configure --prefix=/tools \
--enable-elf-shlibs --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuidd</userinput></screen>
@@ -47,14 +46,19 @@
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='e2'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../final-system/common/e2fsprogs.xml"
+ xpointer="xpointer(//*[@os='e3'])"/>
+
</variablelist>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
-<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
- LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid"</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../final-system/common/e2fsprogs.xml"
+ xpointer="xpointer(//*[@os='g'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/e2fsprogs.xml"
@@ -72,11 +76,6 @@
href="../../final-system/common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='l'])"/>
- <para os="ad">Create needed symlinks for a bootable system:</para>
-
-<screen os="ae"><userinput>ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbin</userinput></screen>
-
-
</sect2>
<sect2 role="content">
diff -ru /home/jp/a/BOOK/boot/common/eudev.xml BOOK/boot/common/eudev.xml
--- /home/jp/a/BOOK/boot/common/eudev.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/eudev.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,64 +12,293 @@
<indexterm zone="ch-boot-eudev">
<primary sortas="a-Eudev">Eudev</primary>
- <secondary>boot</secondary>
</indexterm>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@role='package'])"/>
+ <sect2 role="package">
+ <title/>
- <sect2 role="installation">
- <title>Installation of Eudev</title>
+ <para>The Eudev package contains programs for dynamic creation of device
+ nodes.</para>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@os='a'])"/>
-
-<screen os="b"><userinput>BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib -lblkid" \
-KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib -lkmod" \
-LDFLAGS="-Wl,-rpath,/tools/lib:/lib" ./configure --prefix=/usr \
- --build=${CLFS_HOST} --host=${CLFS_TARGET} \
- --with-rootprefix='' --enable-split-usr --sysconfdir=/etc \
- --libexecdir=/lib --bindir=/sbin --sbindir=/sbin --libdir=/usr/lib \
- --with-rootlibdir=/lib --disable-introspection --disable-gtk-doc-html \
- --disable-gudev --disable-keymap --with-firmware-path=/lib/firmware \
- --enable-libkmod</userinput></screen>
+ </sect2>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+ <sect2 role="installation">
+ <title>Installation of Eudev</title>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@os='d'])"/>
+ <para os="a">Prepare Eudev for compilation:</para>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@os='g'])"/>
+<screen os="b"><userinput>./configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} \
+ --disable-introspection --disable-gtk-doc-html \
+ --disable-gudev --disable-keymap --with-firmware-path=/tools/lib/firmware \
+ --enable-libkmod</userinput></screen>
-<screen os="j"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+ <variablelist os="b1">
+ <title>The meaning of the new configure options:</title>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@os='i'])"/>
+ <varlistentry>
+ <term><parameter>--disable-introspection --disable-gtk-doc-html
+ --disable-gudev --disable-keymap</parameter></term>
+ <listitem>
+ <para>These switches disable several features which are not needed
+ for the temporary system and have additional dependencies.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--with-firmware-path=/tools/lib/firmware</parameter></term>
+ <listitem>
+ <para>This allows Eudev to load firmware from
+ <filename class="directory">/tools/lib/firmware</filename> instead of
+ the default location of <filename class="directory">/lib/firmware</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--enable-libkmod</parameter></term>
+ <listitem>
+ <para>Allows Eudev to load modules by using
+ <filename class="libraryfile">libkmod</filename> directly.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ <para os="c">Compile the package:</para>
+
+<screen os="d"><userinput>make</userinput></screen>
+
+ <para os="g">Install the package:</para>
+
+<screen os="j"><userinput>make install</userinput></screen>
+
+ <para os="i">Create a directory for storing firmware that can be
+ loaded by <command>udev</command>:</para>
-<screen os="k"><userinput>install -dv ${CLFS}/lib/firmware</userinput></screen>
+<screen os="k"><userinput>install -dv /tools/lib/firmware</userinput></screen>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
- xpointer="xpointer(//*[@os='r1'])"/>
+ <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
-<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" \
-> ${CLFS}/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
+<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" &gt; \
+ /tools/etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
</sect2>
- <sect2 role="content">
- <title/>
+ <sect2 id="contents-eudev" role="content">
+ <title>Contents of Eudev</title>
- <para>Details on this package are located in <xref
- linkend="contents-eudev" role="."/></para>
+ <segmentedlist>
+ <segtitle>Installed programs</segtitle>
+ <segtitle>Installed library</segtitle>
+ <segtitle>Installed directories</segtitle>
+
+ <seglistitem>
+ <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
+ firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
+ v4l_id, write_cd_rules, write_net_rules</seg>
+ <seg>libudev</seg>
+ <seg>/tools/etc/udev, /tools/lib/firmware, /tools/lib/udev</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="udevadm-eudev">
+ <term><command>udevadm</command></term>
+ <listitem>
+ <para>Controls the runtime behavior of Eudev, requests kernel
+ events, manages the event queue, and provides simple debugging.</para>
+ <indexterm zone="ch-boot-eudev udevadm-eudev">
+ <primary sortas="b-udevadm-eudev">udevadm</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="udevd">
+ <term><command>udevd</command></term>
+ <listitem>
+ <para>A daemon that reorders hotplug events before submitting them to
+ <command>udev</command>,
+ thus avoiding various race conditions</para>
+ <indexterm zone="ch-boot-eudev udevd">
+ <primary sortas="b-udevd">udevd</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <!-- Start of Helpers -->
+ <varlistentry id="ata_id">
+ <term><command>ata_id</command></term>
+ <listitem>
+ <para>Provides Eudev with a unique string and additional
+ information (uuid, label) for an ATA drive</para>
+ <indexterm zone="ch-boot-eudev ata_id">
+ <primary sortas="b-ata_id">ata_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="cdrom_id">
+ <term><command>cdrom_id</command></term>
+ <listitem>
+ <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
+ <indexterm zone="ch-boot-eudev cdrom_id">
+ <primary sortas="b-cdrom_id">cdrom_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="collect">
+ <term><command>collect</command></term>
+ <listitem>
+ <para>Given an ID for the current uevent and a list of IDs
+(for all target uevents), registers the current ID and indicates whether
+all target IDs have been registered.</para>
+ <indexterm zone="ch-boot-eudev collect">
+ <primary sortas="b-collect">collect</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="create_floppy_devices">
+ <term><command>create_floppy_devices</command></term>
+ <listitem>
+ <para>Creates all possible floppy devices based on the CMOS type</para>
+ <indexterm zone="ch-boot-eudev create_floppy_devices">
+ <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="edd_id">
+ <term><command>edd_id</command></term>
+ <listitem>
+ <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
+ <indexterm zone="ch-boot-eudev edd_id">
+ <primary sortas="b-edd_id">edd_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="firmware.sh">
+ <term><command>firmware.sh</command></term>
+ <listitem>
+ <para>Script to load firmware for a device</para>
+ <indexterm zone="ch-boot-eudev firmware.sh">
+ <primary sortas="b-firmware.sh">firmware.sh</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="fstab_import">
+ <term><command>fstab_import</command></term>
+ <listitem>
+ <para>Finds an entry in <filename>/etc/fstab</filename> that matches
+the current device, and provides its information to Udev.</para>
+ <indexterm zone="ch-boot-eudev fstab_import">
+ <primary sortas="b-fstab_import">fstab_import</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="path_id">
+ <term><command>path_id</command></term>
+ <listitem>
+ <para>Provides the shortest possible unique hardware path to a
+ device</para>
+ <indexterm zone="ch-boot-eudev path_id">
+ <primary sortas="b-path_id">path_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="scsi_id">
+ <term><command>scsi_id</command></term>
+ <listitem>
+ <para>Retrieves or generates a unique SCSI identifier.</para>
+ <indexterm zone="ch-boot-eudev scsi_id">
+ <primary sortas="b-scsi_id">scsi_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="usb_id">
+ <term><command>usb_id</command></term>
+ <listitem>
+ <para>Identifies a USB block device.</para>
+ <indexterm zone="ch-boot-eudev usb_id">
+ <primary sortas="b-usb_id">usb_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="v4l_id">
+ <term><command>v4l_id</command></term>
+ <listitem>
+ <para>Determines V4L capabilities for a given device.</para>
+ <indexterm zone="ch-boot-eudev v4l_id">
+ <primary sortas="b-v4l_id">v4l_id</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="write_cd_rules">
+ <term><command>write_cd_rules</command></term>
+ <listitem>
+ <para>A script which generates Eudev rules to provide stable names
+for network interfaces.</para>
+ <indexterm zone="ch-boot-eudev write_cd_rules">
+ <primary sortas="b-write_cd_rules">write_cd_rules</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="write_net_rules">
+ <term><command>write_net_rules</command></term>
+ <listitem>
+ <para>A script which generates Eudev rules to provide stable names
+for network interfaces.</para>
+ <indexterm zone="ch-boot-eudev write_net_rules">
+ <primary sortas="b-write_net_rules">write_net_rules</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+<!-- End of Helpers -->
+
+ <varlistentry id="libudev-eudev">
+ <term><filename class="libraryfile">libudev</filename></term>
+ <listitem>
+ <para>A library interface to eudev device information.</para>
+ <indexterm zone="ch-boot-eudev libudev-eudev">
+ <primary sortas="c-libudev-eudev">libudev</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="etc-eudev">
+ <term><filename class="directory">/etc/udev</filename></term>
+ <listitem>
+ <para>Contains <command>udev</command> configuration files,
+ device permissions, and rules for device naming</para>
+ <indexterm zone="ch-boot-eudev etc-eudev">
+ <primary sortas="e-/etc/udev">/etc/udev</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="lib-eudev">
+ <term><filename class="directory">/lib/udev</filename></term>
+ <listitem>
+ <para>Contains <command>udev</command> helper programs
+ and static devices which get copied to /dev when booted.</para>
+ <indexterm zone="ch-boot-eudev lib-eudev">
+ <primary sortas="e-/lib/udev">/lib/udev</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</sect2>
diff -ru /home/jp/a/BOOK/boot/common/fstab.xml BOOK/boot/common/fstab.xml
--- /home/jp/a/BOOK/boot/common/fstab.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/fstab.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,6 +12,7 @@
<indexterm zone="ch-boot-fstab">
<primary sortas="e-/etc/fstab">/etc/fstab</primary>
+ <secondary>boot</secondary>
</indexterm>
<para os="a">The <filename>/etc/fstab</filename> file is used by some
@@ -27,22 +28,24 @@
/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
-proc /proc proc defaults 0 0
-sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
-tmpfs /run tmpfs defaults 0 0
-devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
# End /etc/fstab</literal>
EOF</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../bootable/common/fstab.xml"
+ href="../../system-config/common/fstab.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../bootable/common/fstab.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+ <para os="c">The <filename class="directory">/dev/shm</filename> mount point
+ for <systemitem class="filesystem">tmpfs</systemitem> is included to
+ allow enabling POSIX-shared memory. The kernel must have the required
+ support built into it for this to work (more about this is in the next
+ section). Please note that very little software currently uses
+ POSIX-shared memory. Therefore, consider the <filename
+ class="directory">/dev/shm</filename> mount point optional. For more
+ information, see <filename>Documentation/filesystems/tmpfs.txt</filename>
+ in the kernel source tree.</para>
</sect1>
Seulement dans BOOK/boot/common: howtoview.xml
diff -ru /home/jp/a/BOOK/boot/common/introduction.xml BOOK/boot/common/introduction.xml
--- /home/jp/a/BOOK/boot/common/introduction.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/introduction.xml 2014-10-03 20:44:43.892339260 +0200
@@ -14,17 +14,4 @@
create a minimal system that will be used to boot the target machine and to
build the final system packages.</para>
- <para>There are a few additional packages that will need to be
- installed to allow you to boot the minimal system. Some of these
- packages will be installed onto root or in /usr on the CLFS
- partition (${CLFS}/bin, ${CLFS}/usr/bin, etc...), rather than /tools, using the
- "DESTDIR" option with make. This will require the
- <systemitem class="username">clfs</systemitem> user to have write access to
- the rest of the CLFS partition, so you will need to temporarily change the
- ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user.
- Run the following command as <systemitem
- class="username">root</systemitem>:</para>
-
-<screen><userinput>chown -v clfs ${CLFS}</userinput></screen>
-
</sect1>
diff -ru /home/jp/a/BOOK/boot/common/kmod.xml BOOK/boot/common/kmod.xml
--- /home/jp/a/BOOK/boot/common/kmod.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/kmod.xml 2014-10-03 20:44:43.892339260 +0200
@@ -22,15 +22,33 @@
<sect2 role="installation">
<title>Installation of Kmod</title>
+ <para os="s1">The following <command>sed</command> changes Kmod's default
+ module search location to
+ <filename class="directory">/tools/lib/modules</filename>:</para>
+
+<screen os="s2"><userinput>cp -v libkmod/libkmod.c{,.orig}
+sed '/dirname_default_prefix /s@/lib/modules@/tools&amp;@' \
+ libkmod/libkmod.c.orig &gt; libkmod/libkmod.c</userinput></screen>
+
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib -llzma" \
-zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \
-./configure --prefix=/tools --bindir=/bin \
- --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib \
- --disable-manpages</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/tools \
+ --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib</userinput></screen>
+
+ <variablelist os="c">
+ <title>The meaning of the new configure options:</title>
+
+ <varlistentry>
+ <term><parameter>--with-zlib --with-xz</parameter></term>
+ <listitem>
+ <para>These allow the Kmod package to handle zlib and XZ
+ compressed kernel modules.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
@@ -44,18 +62,16 @@
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='g'])"/>
-<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+<screen os="h"><userinput>make install</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../final-system/common/kmod.xml"
+ xpointer="xpointer(//*[@os='i'])"/>
-<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-href="../../final-system/common/kmod.xml"
-xpointer="xpointer(//*[@os='i'])"/>
-
-<screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
-ln -sv ../bin/kmod ${CLFS}/sbin/depmod
-ln -sv ../bin/kmod ${CLFS}/sbin/insmod
-ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
-ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
-ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
+<screen os="j"><userinput>ln -sfv kmod /tools/bin/lsmod
+for tool in depmod insmod modprobe modinfo rmmod; do
+ ln -sv ../bin/kmod /tools/sbin/${tool}
+done</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/boot/common/pwdgroup.xml BOOK/boot/common/pwdgroup.xml
--- /home/jp/a/BOOK/boot/common/pwdgroup.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/pwdgroup.xml 2014-10-03 20:44:43.892339260 +0200
@@ -8,30 +8,16 @@
<sect1 id="ch-boot-pwdgroup">
<?dbhtml filename="pwdgroup.html"?>
- <title>Creating the passwd, group, and log Files</title>
+ <title>Creating the passwd and group Files</title>
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/etc/passwd">/etc/passwd</primary>
+ <secondary>boot</secondary>
</indexterm>
<indexterm zone="ch-boot-pwdgroup">
<primary sortas="e-/etc/group">/etc/group</primary>
- </indexterm>
-
- <indexterm zone="ch-boot-pwdgroup">
- <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
- </indexterm>
-
- <indexterm zone="ch-boot-pwdgroup">
- <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
- </indexterm>
-
- <indexterm zone="ch-boot-pwdgroup">
- <primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary>
- </indexterm>
-
- <indexterm zone="ch-boot-pwdgroup">
- <primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary>
+ <secondary>boot</secondary>
</indexterm>
<para os="a">In order for user <systemitem class="username">root</systemitem> to
@@ -44,6 +30,10 @@
<screen><userinput>cat &gt; ${CLFS}/etc/passwd &lt;&lt; "EOF"
<literal>root::&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
+<literal>bin:x:&uid-bin;:&gid-bin;:/bin:/bin/false</literal>
+<literal>daemon:x:&uid-daemon;:&gid-daemon;:/sbin:/bin/false</literal>
+<literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>
+<literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
EOF</userinput></screen>
<para os="b">The actual password for <systemitem class="username">root</systemitem>
@@ -51,22 +41,9 @@
with no password) will be set later.</para>
<variablelist os="c">
-
- <title>Additional users you may want to add:</title>
- <varlistentry>
- <term><literal>bin:x:&uid-bin;:&gid-bin;:bin:/bin:/bin/false</literal></term>
- <listitem>
- <para>Can be useful for compatibility with legacy applications.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>daemon:x:&uid-daemon;:&gid-daemon;:daemon:/sbin:/bin/false</literal></term>
- <listitem>
- <para>It is often recommended to use an unprivileged User ID/Group ID
- for daemons to run as, in order to limit their access to the system.</para>
- </listitem>
- </varlistentry>
+ <title>Additional users you may want to add if not already included:</title>
+
<varlistentry>
<term><literal>adm:x:&uid-adm;:&gid-adm;:adm:/var/adm:/bin/false</literal></term>
<listitem>
@@ -103,12 +80,6 @@
<para>Generally used as an account that receives all the information of troubles with the mail server</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><literal>nobody:x:&uid-nobody;:&gid-nobody;:nobody:/:/bin/false</literal></term>
- <listitem>
- <para>Used by NFS</para>
- </listitem>
- </varlistentry>
</variablelist>
<para>Create the <filename>${CLFS}/etc/group</filename> file by running
@@ -130,20 +101,20 @@
video:x:&gid-video;:
utmp:x:&gid-utmp;:
usb:x:&gid-usb;:
-cdrom:x:&gid-cdrom;:</literal>
+cdrom:x:&gid-cdrom;:
+adm:x:&gid-adm;:
+messagebus:x:&gid-messagebus;:
+systemd-journal:x:&gid-systemd-journal;:
+mail:x:&gid-mail;:
+wheel:x:&gid-wheel;:
+nogroup:x:&gid-nogroup;:</literal>
EOF</userinput></screen>
<variablelist os="d">
- <title>Additional groups you may want to add</title>
+ <title>Additional groups you may want to add if not already included:</title>
<varlistentry>
- <term><literal>adm:x:&gid-adm;:root,adm,daemon</literal></term>
- <listitem>
- <para>All users in this group are allowed to do administrative tasks</para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><literal>console:x:&gid-console;:</literal></term>
<listitem>
<para>This group has direct access to the console</para>
@@ -156,12 +127,6 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>mail:x:&gid-mail;:mail</literal></term>
- <listitem>
- <para>Used by MTAs (Mail Transport Agents)</para>
- </listitem>
- </varlistentry>
- <varlistentry>
<term><literal>news:x:&gid-news;:news</literal></term>
<listitem>
<para>Used by Network News Servers</para>
@@ -174,14 +139,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><literal>nogroup:x:&gid-nogroup;:</literal></term>
- <listitem>
- <para>This is a default group used by some programs that do not
- require a group</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><literal>nobody:x:&gid-nobody;:</literal></term>
+ <term><literal>nobody:x:&gid-nogroup;:</literal></term>
<listitem>
<para>This is used by NFS</para>
</listitem>
@@ -189,7 +147,7 @@
</variablelist>
<para os="e">The created groups are not part of any standard&mdash;they are
- groups decided on in part by the requirements of the Eudev configuration
+ groups decided on in part by the requirements of the Systemd configuration
in the final system, and in part by common convention employed by a
number of existing Linux distributions. The Linux Standard Base (LSB,
available at <ulink url="http://www.linuxbase.org"/>) recommends only
@@ -199,22 +157,4 @@
well-written programs do not depend on GID numbers, but rather use the
group's name.</para>
- <para os="f">The <command>login</command>, <command>agetty</command>, and
- <command>init</command> programs (and others) use a number of log
- files to record information such as who was logged into the system and
- when. However, these programs will not write to the log files if they
- do not already exist. Initialize the log files and give them
- proper permissions:</para>
-
-<screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
-chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
-chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
-
- <para>The <filename>/var/run/utmp</filename> file records the users
- that are currently logged in. The <filename>/var/log/wtmp</filename>
- file records all logins and logouts. The
- <filename>/var/log/lastlog</filename> file records when
- each user last logged in. The <filename>/var/log/btmp</filename> file
- records the bad login attempts.</para>
-
</sect1>
diff -ru /home/jp/a/BOOK/boot/common/settingenviron.xml BOOK/boot/common/settingenviron.xml
--- /home/jp/a/BOOK/boot/common/settingenviron.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/settingenviron.xml 2014-10-03 20:44:43.892339260 +0200
@@ -11,8 +11,8 @@
<title>Setting Up the Environment</title>
<para>The new instance of the shell that will start when the system is booted is a <emphasis>login</emphasis>
- shell, which will read <filename>.bash_profile</filename> file. Create the
- <filename>.bash_profile</filename> file now:</para>
+ shell, which will read the <filename>.bash_profile</filename> file. Create
+ <filename>.bash_profile</filename> now:</para>
<screen><userinput>cat &gt; ${CLFS}/root/.bash_profile &lt;&lt; "EOF"
<literal>set +h
@@ -24,7 +24,7 @@
<para>The <envar>LC_ALL</envar> variable controls the localization of
certain programs, making their messages follow the conventions of a
- specified country.
+ specified country.
Setting <envar>LC_ALL</envar> to <quote>POSIX</quote> or <quote>C</quote>
(the two are equivalent) ensures that everything will work as expected
on your temporary system.</para>
@@ -34,7 +34,7 @@
the end of the standard <envar>PATH</envar>, all the programs installed in
<xref linkend="chapter-temp-system"/> are only picked up by the shell
if they have not yet been built on the target system. This configuration
- forces use of the final system binaries as they are built over the
+ forces use of the final system binaries as they are built over the
temp-system, minimising the chance of final system programs being built
against the temp-system.</para>
diff -ru /home/jp/a/BOOK/boot/common/shadow.xml BOOK/boot/common/shadow.xml
--- /home/jp/a/BOOK/boot/common/shadow.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/shadow.xml 2014-10-03 20:44:43.892339260 +0200
@@ -22,39 +22,37 @@
<sect2 role="installation">
<title>Installation of Shadow</title>
- <para os="b">Disable the installation of the <command>groups</command>
- program, as Coreutils provides a better version:</para>
+ <para os="a">Run the following <command>sed</command> command to disable
+ the installation of the <command>groups</command> and
+ <command>nologin</command> programs, as better versions of these programs
+ are provided by other packages, and prevent Shadow from setting the suid
+ bit on its installed programs:</para>
-<screen os="c"><userinput>cp -v src/Makefile.in{,.orig}
-sed -e 's/groups$(EXEEXT) //' src/Makefile.in.orig > src/Makefile.in</userinput></screen>
+<screen os="b"><userinput>cp -v src/Makefile.in{,.orig}
+sed -e 's/groups$(EXEEXT) //' \
+ -e 's/= nologin$(EXEEXT)/= /' \
+ -e 's/\(^suidu*bins = \).*/\1/' \
+ src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
- <para os="d">Prepare Shadow for compilation:</para>
+ <para os="c">Tell Shadow to use <command>passwd</command> in
+ <filename class="directory">/tools/bin</filename>:</para>
-<screen os="e"><userinput>./configure --prefix=/tools \
- --build=${CLFS_HOST} --host=${CLFS_TARGET} --sysconfdir=/etc</userinput></screen>
+<screen os="d"><userinput>cat > config.cache &lt;&lt; "EOF"
+shadow_cv_passwd_dir=/tools/bin
+EOF</userinput></screen>
-<para os="f">The meaning of the configure options:</para>
+ <para os="e">Prepare Shadow for compilation:</para>
- <variablelist os="g">
- <varlistentry>
- <term><parameter>--sysconfdir=/etc</parameter></term>
- <listitem><para>Tells Shadow to install its configuration files into
- <filename class="directory">/etc</filename>, rather than
- <filename class="directory">/tools/etc</filename>.</para></listitem>
- </varlistentry>
-
- </variablelist>
+<screen os="f"><userinput>./configure --prefix=/tools \
+ --build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
+ <para os="g">Compile the package:</para>
- <para os="h">Compile the package:</para>
+<screen os="h"><userinput>make</userinput></screen>
-<screen os="i"><userinput>make</userinput></screen>
+ <para os="i">Install the package:</para>
- <para os="j">This package does not come with a test suite.</para>
-
- <para os="k">Install the package:</para>
-
-<screen os="l"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+<screen os="j"><userinput>make install</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/boot/common/sysvinit.xml BOOK/boot/common/sysvinit.xml
--- /home/jp/a/BOOK/boot/common/sysvinit.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/common/sysvinit.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,35 +12,33 @@
<indexterm zone="ch-boot-sysvinit">
<primary sortas="a-Sysvinit">Sysvinit</primary>
- <secondary>boot</secondary>
</indexterm>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/sysvinit.xml"
- xpointer="xpointer(//*[@role='package'])"/>
+ <sect2 role="package">
+ <title/>
+
+ <para>The Sysvinit package contains programs for controlling the startup,
+ running, and shutdown of the system.</para>
+
+ </sect2>
<sect2 role="installation">
<title>Installation of Sysvinit</title>
- <para os="aa">The following modifications help locate files specific to this
- particular build:</para>
+ <para os="p1">Apply a patch to prevent installation of unneeded programs,
+ and allow Sysvinit to be installed in
+ <filename class="directory">/tools</filename>:</para>
+
+<screen os="p2"><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-tools_updates-1.patch</userinput></screen>
-<screen os="ab"><userinput>cp -v src/Makefile{,.orig}
-sed -e 's,/usr/lib,/tools/lib,g' \
- src/Makefile.orig > src/Makefile</userinput></screen>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/sysvinit.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+ <para os ="c">Compile the package:</para>
<screen os="ac"><userinput>make -C src clobber
make -C src CC="${CC}"</userinput></screen>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/sysvinit.xml"
- xpointer="xpointer(//*[@os='e'])"/>
+ <para os="e">Install the package:</para>
-<screen os="ad"><userinput>make -C src ROOT=${CLFS} install</userinput></screen>
+<screen os="ad"><userinput>make -C src ROOT=/tools install</userinput></screen>
</sect2>
@@ -49,72 +47,206 @@
<indexterm zone="conf-tools-sysvinit">
<primary sortas="a-Sysvinit">Sysvinit</primary>
- <secondary>boot, configuring</secondary>
+ <secondary>configuring</secondary>
</indexterm>
<indexterm zone="conf-tools-sysvinit">
<primary sortas="e-/etc/inittab">/etc/inittab</primary>
</indexterm>
- <para>Create a new file <filename>${CLFS}/etc/inittab</filename> by running the
+ <para>Create a new file <filename>/tools/etc/inittab</filename> by running the
following:</para>
-<screen><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
-<literal># Begin /etc/inittab
+<screen><userinput>cat &gt; /tools/etc/inittab &lt;&lt; "EOF"
+<literal># Begin /tools/etc/inittab
id:3:initdefault:
-si::sysinit:/etc/rc.d/init.d/rc sysinit
+si::sysinit:/tools/etc/rc.d/init.d/rc sysinit
-l0:0:wait:/etc/rc.d/init.d/rc 0
-l1:S1:wait:/etc/rc.d/init.d/rc 1
-l2:2:wait:/etc/rc.d/init.d/rc 2
-l3:3:wait:/etc/rc.d/init.d/rc 3
-l4:4:wait:/etc/rc.d/init.d/rc 4
-l5:5:wait:/etc/rc.d/init.d/rc 5
-l6:6:wait:/etc/rc.d/init.d/rc 6
+l0:0:wait:/tools/etc/rc.d/init.d/rc 0
+l1:S1:wait:/tools/etc/rc.d/init.d/rc 1
+l2:2:wait:/tools/etc/rc.d/init.d/rc 2
+l3:3:wait:/tools/etc/rc.d/init.d/rc 3
+l4:4:wait:/tools/etc/rc.d/init.d/rc 4
+l5:5:wait:/tools/etc/rc.d/init.d/rc 5
+l6:6:wait:/tools/etc/rc.d/init.d/rc 6
-ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
+ca:12345:ctrlaltdel:/tools/sbin/shutdown -t1 -a -r now
-su:S016:once:/sbin/sulogin
+su:S016:once:/tools/sbin/sulogin
</literal>
EOF</userinput></screen>
<para>The following command adds the standard virtual terminals to
- <filename>${CLFS}/etc/inittab</filename>. If your system only has a serial
+ <filename>/tools/etc/inittab</filename>. If your system only has a serial
console skip the following command:</para>
-<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
-<literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600
-2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600
-3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600
-4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600
-5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600
-6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600
+<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
+<literal>1:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty1 9600
+2:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty2 9600
+3:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty3 9600
+4:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty4 9600
+5:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty5 9600
+6:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty6 9600
</literal>
EOF</userinput></screen>
<para>If your system has a serial console, run the following command to add
- the entry to <filename>${CLFS}/etc/inittab</filename>.</para>
+ the entry to <filename>/tools/etc/inittab</filename>.</para>
-<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
-<literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100
+<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
+<literal>c0:12345:respawn:/tools/sbin/agetty --noclear 115200 ttyS0 vt100
</literal>
EOF</userinput></screen>
- <para>Finally, add the end line to <filename>${CLFS}/etc/inittab</filename>.</para>
+ <para>Finally, add the end line to <filename>/tools/etc/inittab</filename>.</para>
-<screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
-<literal># End /etc/inittab</literal>
+<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
+<literal># End /tools/etc/inittab</literal>
EOF</userinput></screen>
+ <para>The <parameter>-I '\033(K'</parameter> option tells
+ <command>agetty</command> to send this escape sequence to the terminal
+ before doing anything else. This escape sequence switches the console
+ character set to a user-defined one, which can be modified by running
+ the <command>setfont</command> program. Sending this
+ escape sequence is necessary for people who use non-ISO 8859-1 screen
+ fonts, but it does not affect native English speakers.</para>
+
</sect2>
- <sect2 role="content">
- <title/>
+ <sect2 id="contents-sysvinit" role="content">
+ <title>Contents of Sysvinit</title>
+
+ <segmentedlist>
+ <segtitle>Installed programs</segtitle>
+
+ <seglistitem>
+ <seg>bootlogd, fstab-decode, halt, init, killall5,
+ poweroff (link to halt), reboot (link to halt), runlevel,
+ shutdown, and telinit (link to init)</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="bootlogd">
+ <term><command>bootlogd</command></term>
+ <listitem>
+ <para>Logs boot messages to a log file</para>
+ <indexterm zone="ch-boot-sysvinit bootlogd">
+ <primary sortas="b-bootlogd">bootlogd</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="fstab-decode">
+ <term><command>fstab-decode</command></term>
+ <listitem>
+ <para>Runs a command with fstab-encoded arguments</para>
+ <indexterm zone="ch-boot-sysvinit fstab-decode">
+ <primary sortas="b-fstab-decode">fstab-decode</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="halt-sysv">
+ <term><command>halt</command></term>
+ <listitem>
+ <para>Normally invokes <command>shutdown</command> with the
+ <parameter>-h</parameter> option, except when already in run-level 0,
+ then it tells the kernel to halt the system; it notes in the
+ file <filename>/var/log/wtmp</filename> that the system is being
+ brought down</para>
+ <indexterm zone="ch-boot-sysvinit halt-sysv">
+ <primary sortas="b-halt-sysv">halt</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="init-sysv">
+ <term><command>init</command></term>
+ <listitem>
+ <para>The first process to be started when the kernel has initialized
+ the hardware which takes over the boot process and starts all the
+ proceses it is instructed to</para>
+ <indexterm zone="ch-boot-sysvinit init-sysv">
+ <primary sortas="b-init-sysv">init</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="killall5">
+ <term><command>killall5</command></term>
+ <listitem>
+ <para>Sends a signal to all processes, except the processes in its own
+ session so it will not kill the shell running the script that called
+ it</para>
+ <indexterm zone="ch-boot-sysvinit killall5">
+ <primary sortas="b-killall5">killall5</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="poweroff-sysv">
+ <term><command>poweroff</command></term>
+ <listitem>
+ <para>Tells the kernel to halt the system and switch off the computer
+ (see <command>halt</command>)</para>
+ <indexterm zone="ch-boot-sysvinit poweroff-sysv">
+ <primary sortas="b-poweroff-sysv">poweroff</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="reboot-sysv">
+ <term><command>reboot</command></term>
+ <listitem>
+ <para>Tells the kernel to reboot the system (see
+ <command>halt</command>)</para>
+ <indexterm zone="ch-boot-sysvinit reboot-sysv">
+ <primary sortas="b-reboot-sysv">reboot</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="runlevel-sysv">
+ <term><command>runlevel</command></term>
+ <listitem>
+ <para>Reports the previous and the current run-level, as noted in
+ the last run-level record in <filename>/run/utmp</filename></para>
+ <indexterm zone="ch-boot-sysvinit runlevel-sysv">
+ <primary sortas="b-runlevel-sysv">runlevel</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="shutdown-sysv">
+ <term><command>shutdown</command></term>
+ <listitem>
+ <para>Brings the system down in a secure way, signaling all processes
+ and notifying all logged-in users</para>
+ <indexterm zone="ch-boot-sysvinit shutdown-sysv">
+ <primary sortas="b-shutdown-sysv">shutdown</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="telinit-sysv">
+ <term><command>telinit</command></term>
+ <listitem>
+ <para>Tells <command>init</command> which run-level to change to</para>
+ <indexterm zone="ch-boot-sysvinit telinit-sysv">
+ <primary sortas="b-telinit-sysv">telinit</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
- <para>Details on this package are located in <xref
- linkend="contents-sysvinit" role="."/></para>
+ </variablelist>
</sect2>
Seulement dans /home/jp/a/BOOK/boot/common: util-linux.xml
diff -ru /home/jp/a/BOOK/boot/mips/bootloaders.xml BOOK/boot/mips/bootloaders.xml
--- /home/jp/a/BOOK/boot/mips/bootloaders.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips/bootloaders.xml 2014-10-03 20:44:43.892339260 +0200
@@ -17,6 +17,6 @@
this build method, we recommend to do a netboot. Information about
netbooting can be found at the link below.</para>
- <para><ulink url="http://documents.jg555.com/netboot"/></para>
+ <para><ulink url="&hints-root;Category:Netboot"/></para>
</sect1>
diff -ru /home/jp/a/BOOK/boot/mips/colo-build.xml BOOK/boot/mips/colo-build.xml
--- /home/jp/a/BOOK/boot/mips/colo-build.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips/colo-build.xml 2014-10-03 20:44:43.892339260 +0200
@@ -36,6 +36,13 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/mips/colo.xml"
+ xpointer="xpointer(//*[@os='s1'])"/>
+
+<screen os="s2"><userinput>cp -v stage2/Makefile{,.orig}
+sed '/^CFLAGS/s/-Werror //' stage2/Makefile.orig &gt; stage2/Makefile</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../final-system/mips/colo.xml"
xpointer="xpointer(//*[@os='b'])"/>
<screen os="aa"><userinput>cd tools/elf2rfx
@@ -47,8 +54,8 @@
href="../../final-system/mips/colo.xml"
xpointer="xpointer(//*[@os='c'])"/>
-<screen os="ab"><userinput>cp -v chain/colo-chain.elf ${CLFS}/boot/vmlinux
-gzip -9 ${CLFS}/boot/vmlinux</userinput></screen>
+<screen os="ab"><userinput>cp -v chain/colo-chain.elf /tools/boot/vmlinux
+gzip -9 /tools/boot/vmlinux</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/boot/mips/colo.xml BOOK/boot/mips/colo.xml
--- /home/jp/a/BOOK/boot/mips/colo.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/mips/colo.xml 2014-10-03 20:44:43.892339260 +0200
@@ -32,8 +32,8 @@
#
# load linux
#
-lcd 'Booting &linux-version;...'
-load vmlinux-&linux-version;.gz
+lcd 'Booting &linux-version2;...'
+load vmlinux-&linux-version2;.gz
execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe
EOF</userinput></screen>
diff -ru /home/jp/a/BOOK/boot/mips/creatingdirs.xml BOOK/boot/mips/creatingdirs.xml
--- /home/jp/a/BOOK/boot/mips/creatingdirs.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips/creatingdirs.xml 2014-10-03 20:44:43.892339260 +0200
@@ -18,6 +18,10 @@
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='b'])"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/creatingdirs.xml"
+ xpointer="xpointer(//*[@os='c'])"/>
+
<para>These entries are needed for the RaQ2 bootloader. Only use these
if you are utilizing the Colo bootloader:</para>
@@ -26,10 +30,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
- xpointer="xpointer(//*[@os='c'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='d'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
diff -ru /home/jp/a/BOOK/boot/mips/kernel.xml BOOK/boot/mips/kernel.xml
--- /home/jp/a/BOOK/boot/mips/kernel.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/mips/kernel.xml 2014-10-03 20:44:43.892339260 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -27,10 +27,18 @@
xpointer="xpointer(//*[@os='aa'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
+ href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -60,25 +68,17 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -88,8 +88,9 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
-gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v vmlinux /tools/boot/vmlinux-&linux-version2;
+gzip -9 /tools/boot/vmlinux-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/boot/mips64/colo-build.xml BOOK/boot/mips64/colo-build.xml
--- /home/jp/a/BOOK/boot/mips64/colo-build.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips64/colo-build.xml 2014-10-03 20:44:43.892339260 +0200
@@ -23,6 +23,10 @@
<title>Installation of Colo</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../mips/colo-build.xml"
+ xpointer="xpointer(//*[@os='a'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/mips64/colo.xml"
xpointer="xpointer(//*[@os='p1'])"/>
@@ -40,16 +44,24 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
- xpointer="xpointer(//*[@os='a'])"/>
+ xpointer="xpointer(//*[@os='s1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../mips/colo-build.xml"
+ xpointer="xpointer(//*[@os='s2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../mips/colo-build.xml"
+ xpointer="xpointer(//*[@os='b'])"/>
<screen os="aa"><userinput>cd tools/elf2rfx
make CC=gcc
cd ../..
-make CC="${CC} ${BUILD64}" CROSS_COMPILE="${CLFS_TARGET}-" binary</userinput></screen>
+make CROSS_COMPILE="${CLFS_TARGET}-" binary</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
- xpointer="xpointer(//*[@os='b'])"/>
+ xpointer="xpointer(//*[@os='c'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../mips/colo-build.xml"
diff -ru /home/jp/a/BOOK/boot/mips64/createfiles.xml BOOK/boot/mips64/createfiles.xml
--- /home/jp/a/BOOK/boot/mips64/createfiles.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips64/createfiles.xml 2014-10-03 20:44:43.892339260 +0200
@@ -14,16 +14,29 @@
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
+<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
-ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32
ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
-ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
-ln -sv /tools/lib32/libstd*so* ${CLFS}/usr/lib32
-ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64
+ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
+ln -sv /tools/lib32/libstdc++.so{.6,} ${CLFS}/usr/lib32
+ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64
+sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
ln -sv bash ${CLFS}/bin/sh
-ln -sv ../run ${CLFS}/var/run</userinput></screen>
+ln -sv /tools/sbin/init ${CLFS}/sbin
+ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/createfiles.xml"
+ xpointer="xpointer(//*[@os='c'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/createfiles.xml"
+ xpointer="xpointer(//*[@os='d'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/createfiles.xml"
+ xpointer="xpointer(//*[@os='e'])"/>
</sect1>
diff -ru /home/jp/a/BOOK/boot/mips64/creatingdirs.xml BOOK/boot/mips64/creatingdirs.xml
--- /home/jp/a/BOOK/boot/mips64/creatingdirs.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips64/creatingdirs.xml 2014-10-03 20:44:43.892339260 +0200
@@ -20,13 +20,11 @@
mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
install -dv ${CLFS}/root -m 0750
install -dv ${CLFS}{/var,}/tmp -m 1777
+ln -sv ../run ${CLFS}/var/run
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,32,64},sbin,src}
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
-for dir in ${CLFS}/usr{,/local}; do
- ln -sv share/{man,doc,info} $dir
-done
install -dv ${CLFS}/usr/lib/locale
ln -sv ../lib/locale ${CLFS}/usr/lib32
ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
diff -ru /home/jp/a/BOOK/boot/mips64/kernel.xml BOOK/boot/mips64/kernel.xml
--- /home/jp/a/BOOK/boot/mips64/kernel.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips64/kernel.xml 2014-10-03 20:44:43.892339260 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -35,6 +35,14 @@
xpointer="xpointer(//*[@os='m1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -64,25 +72,17 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -92,8 +92,9 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux ${CLFS}/boot/vmlinux-&linux-version;
-gzip -9 ${CLFS}/boot/vmlinux-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v vmlinux /tools/boot/vmlinux-&linux-version2;
+gzip -9 /tools/boot/vmlinux-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
Seulement dans /home/jp/a/BOOK/boot: mips64-64
diff -ru /home/jp/a/BOOK/boot/mips64-64-chapter.xml BOOK/boot/mips64-64-chapter.xml
--- /home/jp/a/BOOK/boot/mips64-64-chapter.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/mips64-64-chapter.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,24 +12,25 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/mips64-chapter.xml BOOK/boot/mips64-chapter.xml
--- /home/jp/a/BOOK/boot/mips64-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/mips64-chapter.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,24 +12,25 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/colo-build.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/createfiles.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/flags.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/mips-chapter.xml BOOK/boot/mips-chapter.xml
--- /home/jp/a/BOOK/boot/mips-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/mips-chapter.xml 2014-10-03 20:44:43.892339260 +0200
@@ -12,23 +12,24 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/bootloaders.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/multilib/createfiles.xml BOOK/boot/multilib/createfiles.xml
--- /home/jp/a/BOOK/boot/multilib/createfiles.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/multilib/createfiles.xml 2014-10-03 20:44:43.896339261 +0200
@@ -14,14 +14,27 @@
href="../common/createfiles.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
+<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,pwd,stty} ${CLFS}/bin
ln -sv /tools/bin/file ${CLFS}/usr/bin
-ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
-ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib
-ln -sv /tools/lib64/libstd*so* ${CLFS}/usr/lib64
+ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
+ln -sv /tools/lib64/libstdc++.so{.6,} ${CLFS}/usr/lib64
+sed -e 's/tools/usr/' /tools/lib/libstdc++.la &gt; ${CLFS}/usr/lib/libstdc++.la
ln -sv bash ${CLFS}/bin/sh
-ln -sv ../run ${CLFS}/var/run</userinput></screen>
+ln -sv /tools/sbin/init ${CLFS}/sbin
+ln -sv /tools/etc/{login.{access,defs},limits} ${CLFS}/etc</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/createfiles.xml"
+ xpointer="xpointer(//*[@os='c'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/createfiles.xml"
+ xpointer="xpointer(//*[@os='d'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/createfiles.xml"
+ xpointer="xpointer(//*[@os='e'])"/>
</sect1>
diff -ru /home/jp/a/BOOK/boot/multilib/creatingdirs.xml BOOK/boot/multilib/creatingdirs.xml
--- /home/jp/a/BOOK/boot/multilib/creatingdirs.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/multilib/creatingdirs.xml 2014-10-03 20:44:43.896339261 +0200
@@ -14,32 +14,34 @@
href="../common/creatingdirs.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/creatingdirs.xml"
+ xpointer="xpointer(//*[@os='b'])"/>
+
+<screen os="c"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys}
mkdir -pv ${CLFS}/var/{lock,log,mail,spool}
mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
install -dv ${CLFS}/root -m 0750
install -dv ${CLFS}{/var,}/tmp -m 1777
+ln -sv ../run ${CLFS}/var/run
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src}
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
-for dir in ${CLFS}/usr{,/local}; do
- ln -sv share/{man,doc,info} $dir
-done
install -dv ${CLFS}/usr/lib/locale
ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+ xpointer="xpointer(//*[@os='d'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
- xpointer="xpointer(//*[@os='d'])"/>
+ xpointer="xpointer(//*[@os='e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/creatingdirs.xml"
- xpointer="xpointer(//*[@os='e'])"/>
+ xpointer="xpointer(//*[@os='f'])"/>
</sect1>
diff -ru /home/jp/a/BOOK/boot/multilib/e2fsprogs.xml BOOK/boot/multilib/e2fsprogs.xml
--- /home/jp/a/BOOK/boot/multilib/e2fsprogs.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/multilib/e2fsprogs.xml 2014-10-03 20:44:43.896339261 +0200
@@ -40,8 +40,7 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
-<screen os="aa"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
- ../configure --prefix=/tools --enable-elf-shlibs \
+<screen os="aa"><userinput>../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuidd</userinput></screen>
@@ -54,9 +53,9 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
-<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
- LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" \
- LDFLAGS="-Wl,-rpath,/tools/lib64"</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/e2fsprogs.xml"
+ xpointer="xpointer(//*[@os='g'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
@@ -74,14 +73,6 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='l'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../common/e2fsprogs.xml"
- xpointer="xpointer(//*[@os='ad'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../common/e2fsprogs.xml"
- xpointer="xpointer(//*[@os='ae'])"/>
-
</sect2>
<sect2 role="content">
diff -ru /home/jp/a/BOOK/boot/multilib/eudev.xml BOOK/boot/multilib/eudev.xml
--- /home/jp/a/BOOK/boot/multilib/eudev.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/multilib/eudev.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,40 +12,38 @@
<indexterm zone="ch-boot-eudev">
<primary sortas="a-Eudev">Eudev</primary>
- <secondary>boot</secondary>
</indexterm>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
+ href="../common/eudev.xml"
xpointer="xpointer(//*[@role='package'])"/>
<sect2 role="installation">
<title>Installation of Eudev</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
+ href="../common/eudev.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen os="b"><userinput>BLKID_CFLAGS="-I/tools/include" BLKID_LIBS="-L/tools/lib64 -lblkid" \
-KMOD_CFLAGS="-I/tools/include/" KMOD_LIBS="-L/tools/lib64 -lkmod" \
-CC="${CC} ${BUILD64}" LDFLAGS="-Wl,-rpath,/tools/lib64:/lib64" \
- ./configure --prefix=/usr --build=${CLFS_HOST} \
- --host=${CLFS_TARGET} --with-rootprefix='' --enable-split-usr \
- --sysconfdir=/etc --libexecdir=/lib64 --bindir=/sbin --sbindir=/sbin \
- --libdir=/usr/lib64 --with-rootlibdir=/lib64 --disable-introspection \
- --disable-gtk-doc-html --disable-gudev --disable-keymap \
- --with-firmware-path=/lib/firmware --enable-libkmod</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/tools --build=${CLFS_HOST} \
+ --host=${CLFS_TARGET} --libdir=/tools/lib64 --with-rootlibdir=/tools/lib64 \
+ --disable-introspection --disable-gtk-doc-html --disable-gudev \
+ --disable-keymap --with-firmware-path=/lib/firmware --enable-libkmod</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/eudev.xml"
+ xpointer="xpointer(//*[@os='b1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
+ href="../common/eudev.xml"
xpointer="xpointer(//*[@os='c'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
+ href="../common/eudev.xml"
xpointer="xpointer(//*[@os='d'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
+ href="../common/eudev.xml"
xpointer="xpointer(//*[@os='g'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -53,7 +51,7 @@
xpointer="xpointer(//*[@os='j'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/eudev.xml"
+ href="../common/eudev.xml"
xpointer="xpointer(//*[@os='r1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -62,12 +60,8 @@
</sect2>
- <sect2 role="content">
- <title/>
-
- <para>Details on this package are located in <xref
- linkend="contents-eudev" role="."/></para>
-
- </sect2>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/eudev.xml"
+ xpointer="xpointer(//*[@role='content'])"/>
</sect1>
diff -ru /home/jp/a/BOOK/boot/multilib/grub-build.xml BOOK/boot/multilib/grub-build.xml
--- /home/jp/a/BOOK/boot/multilib/grub-build.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/multilib/grub-build.xml 2014-10-03 20:44:43.896339261 +0200
@@ -31,16 +31,25 @@
xpointer="xpointer(//*[@os='s1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/x86/grub.xml"
+ href="../x86/grub-build.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen os="ab"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
+<screen os="ab"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
- --sysconfdir=/etc --libdir=/tools/lib64 --disable-werror</userinput></screen>
+ --libdir=/tools/lib64 --disable-werror \
+ --enable-grub-mkfont=no --with-bootdir=tools/boot</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/grub-build.xml"
+ xpointer="xpointer(//*[@os='b'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/grub-build.xml"
+ xpointer="xpointer(//*[@os='bc'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
@@ -54,7 +63,9 @@
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='f'])"/>
-<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/grub-build.xml"
+ xpointer="xpointer(//*[@os='ag'])"/>
</sect2>
diff -ru /home/jp/a/BOOK/boot/multilib/kmod.xml BOOK/boot/multilib/kmod.xml
--- /home/jp/a/BOOK/boot/multilib/kmod.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/multilib/kmod.xml 2014-10-03 20:44:43.896339261 +0200
@@ -23,14 +23,24 @@
<title>Installation of Kmod</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/kmod.xml"
+ xpointer="xpointer(//*[@os='s1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/kmod.xml"
+ xpointer="xpointer(//*[@os='s2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='a'])"/>
-<screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib64 -llzma" \
-zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib64 -lz" \
-CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
- --bindir=/bin --build=${CLFS_HOST} --host=${CLFS_TARGET} \
- --libdir=/tools/lib64 --with-xz --with-zlib --disable-manpages</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/tools \
+ --build=${CLFS_HOST} --host=${CLFS_TARGET} \
+ --libdir=/tools/lib64 --with-xz --with-zlib</userinput></screen>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/kmod.xml"
+ xpointer="xpointer(//*[@os='c'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/kmod.xml"
@@ -44,18 +54,17 @@
href="../../final-system/common/kmod.xml"
xpointer="xpointer(//*[@os='g'])"/>
-<screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/kmod.xml"
+ xpointer="xpointer(//*[@os='h'])"/>
-<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-href="../../final-system/common/kmod.xml"
-xpointer="xpointer(//*[@os='i'])"/>
-
-<screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
-ln -sv ../bin/kmod ${CLFS}/sbin/depmod
-ln -sv ../bin/kmod ${CLFS}/sbin/insmod
-ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
-ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
-ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/kmod.xml"
+ xpointer="xpointer(//*[@os='i'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/kmod.xml"
+ xpointer="xpointer(//*[@os='j'])"/>
</sect2>
Seulement dans /home/jp/a/BOOK/boot/multilib: sysvinit.xml
Seulement dans /home/jp/a/BOOK/boot/multilib: util-linux.xml
diff -ru /home/jp/a/BOOK/boot/ppc/kernel.xml BOOK/boot/ppc/kernel.xml
--- /home/jp/a/BOOK/boot/ppc/kernel.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/ppc/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -31,6 +31,14 @@
xpointer="xpointer(//*[@os='a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -65,25 +73,17 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -93,7 +93,8 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/boot/ppc/powerpc-utils.xml BOOK/boot/ppc/powerpc-utils.xml
--- /home/jp/a/BOOK/boot/ppc/powerpc-utils.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/ppc/powerpc-utils.xml 2014-10-03 20:44:43.896339261 +0200
@@ -30,14 +30,14 @@
href="../../final-system/ppc/powerpc-utils.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <para os="a">This package's Makefile has issues with cross-compiling. Fortunately,
+ <para os="c">This package's Makefile has issues with cross-compiling. Fortunately,
we only need one program and it is a simple task to compile it.</para>
-<screen><userinput>${CC} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
+<screen os="d"><userinput>${CC} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
- <para os="c">Install the program:</para>
+ <para os="e">Install the program:</para>
-<screen os="d"><userinput>install -v -m755 nvsetenv /tools/sbin</userinput></screen>
+<screen os="f"><userinput>install -v -m755 nvsetenv /tools/sbin</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/boot/ppc64/e2fsprogs-libs.xml BOOK/boot/ppc64/e2fsprogs-libs.xml
--- /home/jp/a/BOOK/boot/ppc64/e2fsprogs-libs.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/ppc64/e2fsprogs-libs.xml 2014-10-03 20:44:43.896339261 +0200
@@ -30,9 +30,9 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <para>When cross-compiling configure cannot determine sizes and assumes
- short=2, int=4, long=4, long long=8. This is not correct for PowerPC64.
- Adjust the values with:</para>
+ <para>When cross-compiling, <command>configure</command> cannot determine
+ data type sizes and assumes short=2, int=4, long=4, long long=8.
+ This is not correct for PowerPC64. Adjust the values with:</para>
<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
@@ -45,7 +45,7 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
-<screen os="aa"><userinput>CC="${CC} ${BUILD32}" PKG_CONFIG=true \
+<screen os="aa"><userinput>CC="${CC} ${BUILD32}" \
../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
@@ -56,11 +56,12 @@
xpointer="xpointer(//*[@os='e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../64/e2fsprogs.xml"
+ href="../multilib/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
-<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
- LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../common/e2fsprogs.xml"
+ xpointer="xpointer(//*[@os='g'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../common/e2fsprogs.xml"
diff -ru /home/jp/a/BOOK/boot/ppc64/e2fsprogs.xml BOOK/boot/ppc64/e2fsprogs.xml
--- /home/jp/a/BOOK/boot/ppc64/e2fsprogs.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/ppc64/e2fsprogs.xml 2014-10-03 20:44:43.896339261 +0200
@@ -38,9 +38,9 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='b'])"/>
- <para>When cross-compiling, <command>configure</command> cannot
- determine sizes and assumes short=2, int=4, long=4, long long=8. This is
- not correct for PowerPC64. Adjust the values with:</para>
+ <para>When cross-compiling, <command>configure</command> cannot determine
+ data type sizes and assumes short=2, int=4, long=4, long long=8.
+ This is not correct for PowerPC64. Adjust the values with:</para>
<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
@@ -53,8 +53,7 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='c'])"/>
-<screen os="aa"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG=true \
- ../configure --prefix=/tools --enable-elf-shlibs \
+<screen os="aa"><userinput>../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuidd --cache-file=config.cache</userinput></screen>
@@ -64,13 +63,11 @@
xpointer="xpointer(//*[@os='e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../64/e2fsprogs.xml"
+ href="../multilib/e2fsprogs.xml"
xpointer="xpointer(//*[@os='f'])"/>
-<screen os="g"><userinput>make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
- LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs
-make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \
- STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/</userinput></screen>
+<screen os="g"><userinput>make libs
+make -C e2fsck/</userinput></screen>
<para os="i">Install the e2fsck binary:</para>
@@ -84,14 +81,6 @@
href="../common/e2fsprogs.xml"
xpointer="xpointer(//*[@os='l'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../common/e2fsprogs.xml"
- xpointer="xpointer(//*[@os='ad'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../common/e2fsprogs.xml"
- xpointer="xpointer(//*[@os='ae'])"/>
-
</sect2>
<sect2 role="content">
Seulement dans /home/jp/a/BOOK/boot/ppc64: hfsutils.xml
diff -ru /home/jp/a/BOOK/boot/ppc64/kernel.xml BOOK/boot/ppc64/kernel.xml
--- /home/jp/a/BOOK/boot/ppc64/kernel.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/ppc64/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -35,6 +35,14 @@
xpointer="xpointer(//*[@os='m1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -64,25 +72,17 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -92,7 +92,8 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/boot/ppc64/powerpc-utils.xml BOOK/boot/ppc64/powerpc-utils.xml
--- /home/jp/a/BOOK/boot/ppc64/powerpc-utils.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/ppc64/powerpc-utils.xml 2014-10-03 20:44:43.896339261 +0200
@@ -23,26 +23,26 @@
<title>Installation of Powerpc-Utils</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/ppc/powerpc-utils.xml"
+ href="../ppc/powerpc-utils.xml"
xpointer="xpointer(//*[@os='a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/ppc/powerpc-utils.xml"
+ href="../ppc/powerpc-utils.xml"
xpointer="xpointer(//*[@os='b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../ppc/powerpc-utils.xml"
- xpointer="xpointer(//*[@os='a'])"/>
+ xpointer="xpointer(//*[@os='c'])"/>
-<screen><userinput>${CC} ${BUILD32} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
+<screen os="d"><userinput>${CC} ${BUILD32} -o nvsetenv nvsetenv.c nwnvsetenv.c</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../ppc/powerpc-utils.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+ xpointer="xpointer(//*[@os='e'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../ppc/powerpc-utils.xml"
- xpointer="xpointer(//*[@os='d'])"/>
+ xpointer="xpointer(//*[@os='f'])"/>
</sect2>
Seulement dans /home/jp/a/BOOK/boot/ppc64: util-linux-32.xml
Seulement dans /home/jp/a/BOOK/boot/ppc64-64: powerpc-utils.xml
diff -ru /home/jp/a/BOOK/boot/ppc64-64-chapter.xml BOOK/boot/ppc64-64-chapter.xml
--- /home/jp/a/BOOK/boot/ppc64-64-chapter.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/ppc64-64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,25 +12,26 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/powerpc-utils.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/yaboot-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/powerpc-utils.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64-64/yaboot-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/ppc64-chapter.xml BOOK/boot/ppc64-chapter.xml
--- /home/jp/a/BOOK/boot/ppc64-chapter.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/ppc64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,27 +12,27 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/util-linux-32.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs-libs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/hfsutils.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/powerpc-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot-build.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/ppc-chapter.xml BOOK/boot/ppc-chapter.xml
--- /home/jp/a/BOOK/boot/ppc-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/ppc-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,24 +12,25 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/hfsutils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/powerpc-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/sparc/fstab.xml BOOK/boot/sparc/fstab.xml
--- /home/jp/a/BOOK/boot/sparc/fstab.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/sparc/fstab.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,6 +12,7 @@
<indexterm zone="ch-boot-fstab">
<primary sortas="e-/etc/fstab">/etc/fstab</primary>
+ <secondary>boot</secondary>
</indexterm>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -26,12 +27,8 @@
/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
-proc /proc proc defaults 0 0
-sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
-tmpfs /run tmpfs defaults 0 0
-devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
none /proc/openprom openpromfs defaults 0 0
# End /etc/fstab</literal>
EOF</userinput></screen>
diff -ru /home/jp/a/BOOK/boot/sparc/kernel.xml BOOK/boot/sparc/kernel.xml
--- /home/jp/a/BOOK/boot/sparc/kernel.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/sparc/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -31,6 +31,14 @@
xpointer="xpointer(//*[@os='a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -60,25 +68,17 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=sparc CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -88,7 +88,8 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/boot/sparc/silo-build.xml BOOK/boot/sparc/silo-build.xml
--- /home/jp/a/BOOK/boot/sparc/silo-build.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/sparc/silo-build.xml 2014-10-03 20:44:43.896339261 +0200
@@ -32,7 +32,8 @@
<para os="ae">This sed allows us to compile the bin2h binary separately.</para>
-<screen os="ad"><userinput>sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile</userinput></screen>
+<screen os="ad"><userinput>cp -v common/Makefile{,.orig}
+sed -e 's@\$(PROGRAMS)$@programs\n\nprograms: &amp;@' common/Makefile.orig &gt; common/Makefile</userinput></screen>
<para os="af">Compile the bin2h and util binaries for the host.</para>
@@ -43,7 +44,7 @@
<varlistentry>
<term><parameter>CC=cc</parameter></term>
<listitem>
- <para>Overwrites the default value of <command>gcc -m32</command> which will fail
+ <para>Overwrites the default value of <command>gcc -m32</command> which will fail
to compile on 64 bit targets. This is not to be confused with <command>CC=${CC}</command> below.</para>
</listitem>
</varlistentry>
diff -ru /home/jp/a/BOOK/boot/sparc/silo.xml BOOK/boot/sparc/silo.xml
--- /home/jp/a/BOOK/boot/sparc/silo.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/sparc/silo.xml 2014-10-03 20:44:43.896339261 +0200
@@ -16,7 +16,7 @@
</indexterm>
<para os="a">This is for the configuration of <command>silo</command>, similar
- to what is in bootscripts.</para>
+ to what is in boot-scripts.</para>
<screen><userinput>cat &gt; ${CLFS}/etc/silo.conf &lt;&lt; "EOF"
<literal># Begin /etc/silo.conf
@@ -24,7 +24,7 @@
root = /dev/sda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section
-image = /boot/clfskernel-&linux-version;
+image = /tools/boot/vmlinuz-clfs-&linux-version2;
label = linux
# End /etc/silo.conf</literal>
EOF</userinput></screen>
Seulement dans /home/jp/a/BOOK/boot/sparc64: flags.xml
diff -ru /home/jp/a/BOOK/boot/sparc64/kernel.xml BOOK/boot/sparc64/kernel.xml
--- /home/jp/a/BOOK/boot/sparc64/kernel.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/sparc64/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -31,6 +31,14 @@
xpointer="xpointer(//*[@os='a'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -62,17 +70,9 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
-<screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=${CLFS} \
+<screen><userinput>make ARCH=sparc64 INSTALL_MOD_PATH=/tools \
CROSS_COMPILE=${CLFS_TARGET}- modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -80,7 +80,7 @@
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=sparc64 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -90,7 +90,8 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v vmlinux /tools/boot/clfskernel-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
Seulement dans /home/jp/a/BOOK/boot/sparc64-64: flags.xml
diff -ru /home/jp/a/BOOK/boot/sparc64-64-chapter.xml BOOK/boot/sparc64-64-chapter.xml
--- /home/jp/a/BOOK/boot/sparc64-64-chapter.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/sparc64-64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,24 +12,25 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/sparc64-chapter.xml BOOK/boot/sparc64-chapter.xml
--- /home/jp/a/BOOK/boot/sparc64-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/sparc64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,24 +12,25 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc64/flags.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/sparc-chapter.xml BOOK/boot/sparc-chapter.xml
--- /home/jp/a/BOOK/boot/sparc-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/sparc-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,23 +12,24 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/elftoaout.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
diff -ru /home/jp/a/BOOK/boot/x86/grub-build.xml BOOK/boot/x86/grub-build.xml
--- /home/jp/a/BOOK/boot/x86/grub-build.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/x86/grub-build.xml 2014-10-03 20:44:43.896339261 +0200
@@ -30,9 +30,8 @@
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='s1'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/x86/grub.xml"
- xpointer="xpointer(//*[@os='s2'])"/>
+<screen os="s2"><userinput>cp -v grub-core/gnulib/stdio.in.h{,.orig}
+sed -e '/gets is a/d' grub-core/gnulib/stdio.in.h.orig &gt; grub-core/gnulib/stdio.in.h</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
@@ -40,7 +39,25 @@
<screen os="ab"><userinput>./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
- --sysconfdir=/etc --disable-werror</userinput></screen>
+ --disable-werror --enable-grub-mkfont=no --with-bootdir=tools/boot</userinput></screen>
+
+<para os="b">The meaning of the new configure option:</para>
+
+ <variablelist os="bc">
+
+ <varlistentry>
+ <term><parameter>--enable-grub-mkfont=no</parameter></term>
+ <listitem><para>Prevents GRUB from trying to build
+ <command>grub-mkfont</command>, which requires Freetype.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><parameter>--with-bootdir=tools/boot</parameter></term>
+ <listitem><para>This modifies GRUB's default location where it
+ searches for kernel images and installs its bootloader files.</para></listitem>
+ </varlistentry>
+
+ </variablelist>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/x86/grub.xml"
@@ -54,7 +71,7 @@
href="../../final-system/x86/grub.xml"
xpointer="xpointer(//*[@os='f'])"/>
-<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+<screen os="ag"><userinput>make install</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/boot/x86/kernel.xml BOOK/boot/x86/kernel.xml
--- /home/jp/a/BOOK/boot/x86/kernel.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/x86/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -38,6 +38,14 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -48,6 +56,19 @@
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='d'])"/>
+ <note os="kc"><para>A good starting place for setting up the kernel
+ configuration is to run <command>make defconfig</command>. This will set the base configuration to a good state that takes your current system
+ architecture into account.</para>
+
+ <para>Be sure to configure the following options as
+ shown, or the system might not work correctly or boot at all.</para>
+
+ <screen role="nodump">Device Drivers ---&gt;
+ Generic Driver Options ---&gt;
+ () path to uevent helper (CONFIG_UEVENT_HELPER_PATH)
+ [*] Maintain a devtmpfs filesystem to mount at /dev (CONFIG_DEVTMPFS)
+ [ ] Fallback user-helper invocation for firmware loading (CONFIG_FW_LOADER_USER_HELPER)</screen></note>
+
<para os="ae">Configure the kernel via a menu-driven interface:</para>
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
@@ -58,57 +79,48 @@
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
- <para os="af">If the use of kernel modules can't be avoided, an
- <filename>/etc/modprobe.conf</filename> file may be needed.
+ <para os="af">If the use of kernel modules can't be avoided, a file in
+ <filename class="directory">/etc/modprobe.d</filename> may be needed.
Information pertaining to modules and kernel configuration is
located in the kernel documentation in the <filename
class="directory">Documentation</filename> directory of the kernel
- sources tree. The <filename>modprobe.conf</filename> man page may also
+ sources tree. The <filename>modprobe.d</filename> man page may also
be of interest.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../bootable/x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<para os="u">After kernel compilation is complete, additional steps are
required to complete the installation. Some files need to be copied to
- the <filename class="directory">${CLFS}/boot</filename> directory.</para>
+ the <filename class="directory">/tools/boot</filename> directory.</para>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../bootable/x86/kernel.xml"
- xpointer="xpointer(//*[@os='v'])"/>
+ <para os="v">Issue the following commands to install the kernel:</para>
-<screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v arch/i386/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='w'])"/>
-<screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
+<screen os="w1"><userinput>cp -v System.map /tools/boot/System.map-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='x'])"/>
-<screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
+<screen os="x1"><userinput>cp -v .config /tools/boot/config-&linux-version2;</userinput></screen>
</sect2>
Seulement dans /home/jp/a/BOOK/boot/x86_64: flags.xml
diff -ru /home/jp/a/BOOK/boot/x86_64/kernel.xml BOOK/boot/x86_64/kernel.xml
--- /home/jp/a/BOOK/boot/x86_64/kernel.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/x86_64/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-boot-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-boot-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -35,6 +35,14 @@
ELF and emulations for 32bit ELF into the kernel.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../../bootable/x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
@@ -64,25 +72,17 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools modules_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../bootable/x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${CLFS_TARGET}- \
- INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
+ INSTALL_MOD_PATH=/tools firmware_install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -92,7 +92,8 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v arch/x86_64/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
+<screen><userinput>mkdir -pv /tools/boot
+cp -v arch/x86_64/boot/bzImage /tools/boot/vmlinuz-clfs-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
Seulement dans /home/jp/a/BOOK/boot: x86_64-64
diff -ru /home/jp/a/BOOK/boot/x86_64-64-chapter.xml BOOK/boot/x86_64-64-chapter.xml
--- /home/jp/a/BOOK/boot/x86_64-64-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/x86_64-64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,23 +12,24 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/kmod.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/eudev.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/grub-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64-64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
</chapter>
diff -ru /home/jp/a/BOOK/boot/x86_64-chapter.xml BOOK/boot/x86_64-chapter.xml
--- /home/jp/a/BOOK/boot/x86_64-chapter.xml 2014-05-11 16:24:52.638516678 +0200
+++ BOOK/boot/x86_64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,23 +12,24 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="64/shadow.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/sysvinit.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/grub-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86_64/flags.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="multilib/flags.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
</chapter>
diff -ru /home/jp/a/BOOK/boot/x86-chapter.xml BOOK/boot/x86-chapter.xml
--- /home/jp/a/BOOK/boot/x86-chapter.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/boot/x86-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,22 +12,23 @@
<title>If You Are Going to Boot</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bc.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/boot-scripts.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/e2fsprogs.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/kmod.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/shadow.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/sysvinit.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/eudev.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub-build.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/bootscripts.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/creatingdirs.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/createfiles.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/devices.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/pwdgroup.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/settingenviron.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/changingowner.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/howtoview.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/whatnext.xml"/>
</chapter>
Seulement dans /home/jp/a/BOOK/bootable: alpha
Seulement dans /home/jp/a/BOOK/bootable: alpha-chapter.xml
Seulement dans /home/jp/a/BOOK/bootable/common: fstab.xml
diff -ru /home/jp/a/BOOK/bootable/common/introduction.xml BOOK/bootable/common/introduction.xml
--- /home/jp/a/BOOK/bootable/common/introduction.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/common/introduction.xml 2014-10-03 20:44:43.896339261 +0200
@@ -11,9 +11,8 @@
<title>Introduction</title>
<para>It is time to make the CLFS system bootable. This chapter
- discusses creating an <filename>fstab</filename> file, building a
- kernel for the new CLFS system, and installing the boot loader so
- that the CLFS system can be selected for booting at startup.</para>
+ discusses building a kernel for the new CLFS system and installing the boot
+ loader so that the CLFS system can be selected for booting at startup.</para>
</sect1>
diff -ru /home/jp/a/BOOK/bootable/mips/arcload.xml BOOK/bootable/mips/arcload.xml
--- /home/jp/a/BOOK/bootable/mips/arcload.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips/arcload.xml 2014-10-03 20:44:43.896339261 +0200
@@ -30,9 +30,9 @@
append "console=ttyS0,9600";
CLFS {
- &linux-version; {
- description "&linux-version;";
- image system "/&linux-version;";
+ &linux-version2; {
+ description "&linux-version2;";
+ image system "/&linux-version2;";
}
debug {
@@ -47,6 +47,6 @@
<screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash sash
dvhtool --unix-to-vh /boot/arc.cf arc.cf
-dvhtool --unix-to-vh /boot/&linux-version; &linux-version;</userinput></screen>
+dvhtool --unix-to-vh /boot/&linux-version2; &linux-version2;</userinput></screen>
</sect1>
diff -ru /home/jp/a/BOOK/bootable/mips/colo.xml BOOK/bootable/mips/colo.xml
--- /home/jp/a/BOOK/bootable/mips/colo.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips/colo.xml 2014-10-03 20:44:43.896339261 +0200
@@ -40,8 +40,8 @@
#
# load linux
#
-lcd 'Booting &linux-version;...'
-load vmlinux-&linux-version;.gz
+lcd 'Booting &linux-version2;...'
+load vmlinux-&linux-version2;.gz
execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe</literal>
EOF</userinput></screen>
diff -ru /home/jp/a/BOOK/bootable/mips/kernel.xml BOOK/bootable/mips/kernel.xml
--- /home/jp/a/BOOK/bootable/mips/kernel.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips/kernel.xml 2014-10-03 20:44:43.896339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-bootable-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-bootable-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -27,51 +27,55 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='b'])"/>
+ xpointer="xpointer(//*[@os='p1'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='c'])"/>
+ xpointer="xpointer(//*[@os='p2'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='d'])"/>
+ xpointer="xpointer(//*[@os='b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='h'])"/>
+ xpointer="xpointer(//*[@os='c'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='i'])"/>
+ xpointer="xpointer(//*[@os='d'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='k'])"/>
+ xpointer="xpointer(//*[@os='kc'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='m'])"/>
+ xpointer="xpointer(//*[@os='kd'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='n'])"/>
+ xpointer="xpointer(//*[@os='h'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='o'])"/>
+ xpointer="xpointer(//*[@os='i'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
+ xpointer="xpointer(//*[@os='k'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
+ xpointer="xpointer(//*[@os='m'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='r'])"/>
+ xpointer="xpointer(//*[@os='n'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='o'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
@@ -80,7 +84,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='t'])"/>
-
+
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
@@ -97,8 +101,8 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux /boot/vmlinux-&linux-version;
-gzip -9 /boot/vmlinux-&linux-version;</userinput></screen>
+<screen><userinput>cp -v vmlinux /boot/vmlinux-&linux-version2;
+gzip -9 /boot/vmlinux-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/bootable/mips64/arcload.xml BOOK/bootable/mips64/arcload.xml
--- /home/jp/a/BOOK/bootable/mips64/arcload.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips64/arcload.xml 2014-10-03 20:44:43.900339261 +0200
@@ -30,9 +30,9 @@
append "console=ttyS0,9600";
CLFS {
- &linux-version; {
- description "&linux-version;";
- image system "/&linux-version;";
+ &linux-version2; {
+ description "&linux-version2;";
+ image system "/&linux-version2;";
}
debug {
@@ -47,6 +47,6 @@
<screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash64 sash64
dvhtool --unix-to-vh /boot/arc.cf arc.cf
-dvhtool --unix-to-vh /boot/&linux-version; &linux-version;</userinput></screen>
+dvhtool --unix-to-vh /boot/&linux-version2; &linux-version2;</userinput></screen>
</sect1>
diff -ru /home/jp/a/BOOK/bootable/mips64-64-chapter.xml BOOK/bootable/mips64-64-chapter.xml
--- /home/jp/a/BOOK/bootable/mips64-64-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips64-64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/arcload.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
diff -ru /home/jp/a/BOOK/bootable/mips64-chapter.xml BOOK/bootable/mips64-chapter.xml
--- /home/jp/a/BOOK/bootable/mips64-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips64-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips64/arcload.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
diff -ru /home/jp/a/BOOK/bootable/mips-chapter.xml BOOK/bootable/mips-chapter.xml
--- /home/jp/a/BOOK/bootable/mips-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/mips-chapter.xml 2014-10-03 20:44:43.896339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/arcload.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mips/colo.xml"/>
diff -ru /home/jp/a/BOOK/bootable/ppc/kernel.xml BOOK/bootable/ppc/kernel.xml
--- /home/jp/a/BOOK/bootable/ppc/kernel.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/ppc/kernel.xml 2014-10-03 20:44:43.900339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-bootable-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-bootable-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -27,6 +27,14 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -39,6 +47,14 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='kc'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='kd'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='h'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -56,7 +72,7 @@
<command>make oldconfig</command> and manually select many of the
mac-specific options for ide and input.</para>
</warning>
-
+
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='k'])"/>
@@ -75,24 +91,12 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='r'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='t'])"/>
-
+
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
@@ -109,7 +113,7 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version;</userinput></screen>
+<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/bootable/ppc/yaboot.xml BOOK/bootable/ppc/yaboot.xml
--- /home/jp/a/BOOK/bootable/ppc/yaboot.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/ppc/yaboot.xml 2014-10-03 20:44:43.900339261 +0200
@@ -62,7 +62,7 @@
to the image(s), such as
<parameter>device=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:</parameter>
for the disk, and
- <parameter>image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version;</parameter>
+ <parameter>image=/ht@0,f2000000/pci@3/k2-sata-root@c/k2-sata@0/disk@0:9,/boot/clfskernel-&linux-version2;</parameter>
which definitely works.</para>
<para os="k">Create a <quote>yaboot.conf</quote> file defining yaboot's boot
@@ -112,7 +112,7 @@
# For all images, the pathname is relative to the filesystem
# on which they are situated and can include at most one
# directory
-image=/boot/clfskernel-&linux-version;
+image=/boot/clfskernel-&linux-version2;
label=&version;
read-only</literal>
EOF</userinput></screen>
Seulement dans /home/jp/a/BOOK/bootable/ppc64: kernel.xml
diff -ru /home/jp/a/BOOK/bootable/ppc64-64-chapter.xml BOOK/bootable/ppc64-64-chapter.xml
--- /home/jp/a/BOOK/bootable/ppc64-64-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/ppc64-64-chapter.xml 2014-10-03 20:44:43.900339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
diff -ru /home/jp/a/BOOK/bootable/ppc64-chapter.xml BOOK/bootable/ppc64-chapter.xml
--- /home/jp/a/BOOK/bootable/ppc64-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/ppc64-chapter.xml 2014-10-03 20:44:43.900339261 +0200
@@ -12,8 +12,7 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/kernel.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc64/yaboot.xml"/>
</chapter>
diff -ru /home/jp/a/BOOK/bootable/ppc-chapter.xml BOOK/bootable/ppc-chapter.xml
--- /home/jp/a/BOOK/bootable/ppc-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/ppc-chapter.xml 2014-10-03 20:44:43.900339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppc/yaboot.xml"/>
Seulement dans /home/jp/a/BOOK/bootable/sparc: fstab.xml
diff -ru /home/jp/a/BOOK/bootable/sparc/kernel.xml BOOK/bootable/sparc/kernel.xml
--- /home/jp/a/BOOK/bootable/sparc/kernel.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/sparc/kernel.xml 2014-10-03 20:44:43.900339261 +0200
@@ -8,7 +8,7 @@
<sect1 id="ch-bootable-kernel" role="wrap">
<?dbhtml filename="kernel.html"?>
- <title>Linux-&linux-version;</title>
+ <title>Linux-&linux-version2;</title>
<indexterm zone="ch-bootable-kernel">
<primary sortas="a-Linux">Linux</primary>
@@ -27,6 +27,14 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='b'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -39,6 +47,14 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='kc'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
+ xpointer="xpointer(//*[@os='kd'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='h'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -67,24 +83,12 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='p'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='q'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
- xpointer="xpointer(//*[@os='r'])"/>
-
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s'])"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='t'])"/>
-
+
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='s2'])"/>
@@ -101,7 +105,7 @@
href="../x86/kernel.xml"
xpointer="xpointer(//*[@os='v'])"/>
-<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version;</userinput></screen>
+<screen><userinput>cp -v vmlinux /boot/clfskernel-&linux-version2;</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../x86/kernel.xml"
diff -ru /home/jp/a/BOOK/bootable/sparc/silo.xml BOOK/bootable/sparc/silo.xml
--- /home/jp/a/BOOK/bootable/sparc/silo.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/sparc/silo.xml 2014-10-03 20:44:43.900339261 +0200
@@ -24,7 +24,7 @@
root = /dev/sda1 # Root partition
timeout = 150 # Wait 15 seconds before booting the default section
-image = /boot/clfskernel-&linux-version;
+image = /boot/clfskernel-&linux-version2;
label = linux
# End /etc/silo.conf</literal>
EOF</userinput></screen>
diff -ru /home/jp/a/BOOK/bootable/sparc64-64-chapter.xml BOOK/bootable/sparc64-64-chapter.xml
--- /home/jp/a/BOOK/bootable/sparc64-64-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/sparc64-64-chapter.xml 2014-10-03 20:44:43.900339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
diff -ru /home/jp/a/BOOK/bootable/sparc64-chapter.xml BOOK/bootable/sparc64-chapter.xml
--- /home/jp/a/BOOK/bootable/sparc64-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/sparc64-chapter.xml 2014-10-03 20:44:43.900339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
diff -ru /home/jp/a/BOOK/bootable/sparc-chapter.xml BOOK/bootable/sparc-chapter.xml
--- /home/jp/a/BOOK/bootable/sparc-chapter.xml 2014-05-11 16:24:52.614516679 +0200
+++ BOOK/bootable/sparc-chapter.xml 2014-10-03 20:44:43.900339261 +0200
@@ -12,7 +12,6 @@
<title>Making the CLFS System Bootable</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="common/introduction.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/fstab.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sparc/silo.xml"/>
diff -ru /home/jp/a/BOOK/bootable/x86/grub.xml BOOK/bootable/x86/grub.xml
--- /home/jp/a/BOOK/bootable/x86/grub.xml 2014-05-11 16:24:52.618516679 +0200
+++ BOOK/bootable/x86/grub.xml 2014-10-03 20:44:43.900339261 +0200
@@ -38,7 +38,7 @@
.</para>
</warning>
- <para os="e">Instruct GRUB to install itself int othe MBR of
+ <para os="e">Instruct GRUB to install itself into the MBR of
<filename class="partition">sda</filename>:</para>
<screen os="f"><userinput>grub-install /dev/sda</userinput></screen>
diff -ru /home/jp/a/BOOK/bootable/x86/kernel.xml BOOK/bootable/x86/kernel.xml
--- /home/jp/a/BOOK/bootable/x86/kernel.xml 2014-05-11 16:24:52.618516679 +0200
+++ BOOK/bootable/x86/kernel.xml 2014-10-03 20:44:43.900339261 +0200
3909,7 → 248,6
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/kernel.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="x86/grub.xml"/>
Seulement dans /home/jp/a/BOOK/: bootscripts
diff -ru /home/jp/a/BOOK/chroot/64/createfiles.xml BOOK/chroot/64/createfiles.xml
--- /home/jp/a/BOOK/chroot/64/createfiles.xml 2014-05-11 16:24:52.622516679 +0200
+++ BOOK/chroot/64/createfiles.xml 2014-10-03 20:44:43.900339261 +0200