[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[7686ca6] | 7 |
|
---|
[3be4d97] | 8 | <sect1 id="ch-finish-theend">
|
---|
[7686ca6] | 9 | <?dbhtml filename="theend.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>The End</title>
|
---|
[673b0d8] | 12 |
|
---|
[7686ca6] | 13 | <indexterm zone="ch-finish-theend">
|
---|
| 14 | <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
|
---|
| 15 | </indexterm>
|
---|
[81fd230] | 16 |
|
---|
[74a9218] | 17 | <indexterm zone="ch-finish-theend">
|
---|
| 18 | <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
|
---|
| 19 | </indexterm>
|
---|
| 20 |
|
---|
[6a57b4c] | 21 | <indexterm zone="ch-finish-theend">
|
---|
[1118b17] | 22 | <primary sortas="e-/etc/os-release">/etc/os-release</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
[7686ca6] | 25 | <para>Well done! The new LFS system is installed! We wish you much
|
---|
| 26 | success with your shiny new custom-built Linux system.</para>
|
---|
[81fd230] | 27 |
|
---|
[6a57b4c] | 28 | <para>It may be a good idea to create an
|
---|
[1118b17] | 29 | <filename>/etc/lfs-release</filename> file. By having this file, it is very
|
---|
| 30 | easy for you (and for us if you need to ask for help at some point) to find
|
---|
| 31 | out which LFS version is installed on the system. Create this file by
|
---|
| 32 | running:</para>
|
---|
| 33 |
|
---|
[784fdaed] | 34 | <screen><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
---|
[6acc848] | 35 |
|
---|
[784fdaed] | 36 | <para>Two files describing the installed system may be used by packages that
|
---|
| 37 | can be installed on the system later, either in binary form or by building
|
---|
[6a57b4c] | 38 | them.</para>
|
---|
| 39 |
|
---|
| 40 | <para>The first one shows the status of your
|
---|
[7bfe7df] | 41 | new system with respect to the Linux Standards Base (LSB). To create
|
---|
[6e83fc16] | 42 | this file, run:</para>
|
---|
| 43 |
|
---|
[784fdaed] | 44 | <screen><userinput>cat > /etc/lsb-release << "EOF"
|
---|
[6e83fc16] | 45 | DISTRIB_ID="Linux From Scratch"
|
---|
| 46 | DISTRIB_RELEASE="&version;"
|
---|
| 47 | DISTRIB_CODENAME="<your name here>"
|
---|
| 48 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
| 49 | EOF</userinput></screen>
|
---|
[2ca8941] | 50 |
|
---|
[6a57b4c] | 51 | <para>The second one contains roughly the same information, and is used
|
---|
| 52 | by systemd and some graphical desktop environments. To create
|
---|
| 53 | this file, run:</para>
|
---|
| 54 |
|
---|
[784fdaed] | 55 | <screen><userinput>cat > /etc/os-release << "EOF"
|
---|
[6a57b4c] | 56 | NAME="Linux From Scratch"
|
---|
| 57 | VERSION="&version;"
|
---|
| 58 | ID=lfs
|
---|
| 59 | PRETTY_NAME="Linux From Scratch &version;"
|
---|
| 60 | VERSION_CODENAME="<your name here>"
|
---|
[f510f26] | 61 | HOME_URL="&lfs-root;lfs/"
|
---|
[6a57b4c] | 62 | EOF</userinput></screen>
|
---|
| 63 |
|
---|
[6d60bfc] | 64 | <para>Be sure to customize the fields 'DISTRIB_CODENAME' and
|
---|
| 65 | 'VERSION_CODENAME' to make the system uniquely yours.</para>
|
---|
[6e83fc16] | 66 |
|
---|
[6acc848] | 67 | </sect1>
|
---|