[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[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 |
|
---|
[1118b17] | 21 | <indexterm zone="ch-finish-theend" revision="systemd">
|
---|
| 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 |
|
---|
[1118b17] | 28 | <para revision="systemd">Create an <filename>/etc/os-release</filename>
|
---|
| 29 | file required by systemd:</para>
|
---|
| 30 |
|
---|
[b3f1ebb3] | 31 | <screen arch="default" revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
---|
[1118b17] | 32 | NAME="Linux From Scratch"
|
---|
| 33 | VERSION="&versiond;"
|
---|
| 34 | ID=lfs
|
---|
| 35 | PRETTY_NAME="Linux From Scratch &versiond;"
|
---|
[a840e59] | 36 | VERSION_CODENAME="<your name here>"
|
---|
[b3f1ebb3] | 37 | EOF</userinput></screen>
|
---|
| 38 |
|
---|
[fd48baa] | 39 | <screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
---|
[b3f1ebb3] | 40 | NAME="Linux From Scratch"
|
---|
| 41 | VERSION="&versiond;"
|
---|
| 42 | ID=lfs
|
---|
| 43 | PRETTY_NAME="Linux From Scratch &versiond; Multlib"
|
---|
| 44 | VERSION_CODENAME="<your name here>"
|
---|
[1118b17] | 45 | EOF</userinput></screen>
|
---|
| 46 |
|
---|
| 47 | <para revision="sysv">It may be a good idea to create an
|
---|
| 48 | <filename>/etc/lfs-release</filename> file. By having this file, it is very
|
---|
| 49 | easy for you (and for us if you need to ask for help at some point) to find
|
---|
| 50 | out which LFS version is installed on the system. Create this file by
|
---|
| 51 | running:</para>
|
---|
| 52 |
|
---|
[b3f1ebb3] | 53 | <screen arch="default" revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
---|
[fd48baa] | 54 | <screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>echo &version;-multilib > /etc/lfs-release</userinput></screen>
|
---|
[6acc848] | 55 |
|
---|
[1118b17] | 56 | <para revision="systemd">Creating the file
|
---|
| 57 | <filename>/etc/lfs-release</filename> is recommended for compatibility with
|
---|
| 58 | the non-systemd branch. By having this file, it is very easy for you (and for
|
---|
| 59 | us if you need to ask for help at some point) to find out which LFS version
|
---|
| 60 | is installed on the system. Create this file by running:</para>
|
---|
| 61 |
|
---|
[e787b1f] | 62 | <screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
---|
[5ba7054] | 63 |
|
---|
[6e83fc16] | 64 | <para>It is also a good idea to create a file to show the status of your
|
---|
[7bfe7df] | 65 | new system with respect to the Linux Standards Base (LSB). To create
|
---|
[6e83fc16] | 66 | this file, run:</para>
|
---|
| 67 |
|
---|
[b3f1ebb3] | 68 | <screen arch="default" revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
[6e83fc16] | 69 | DISTRIB_ID="Linux From Scratch"
|
---|
| 70 | DISTRIB_RELEASE="&version;"
|
---|
| 71 | DISTRIB_CODENAME="<your name here>"
|
---|
| 72 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
[1118b17] | 73 | EOF</userinput></screen>
|
---|
| 74 |
|
---|
[b3f1ebb3] | 75 | <screen arch="default" revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
[1118b17] | 76 | DISTRIB_ID="Linux From Scratch"
|
---|
| 77 | DISTRIB_RELEASE="&versiond;"
|
---|
| 78 | DISTRIB_CODENAME="<your name here>"
|
---|
| 79 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
[b3f1ebb3] | 80 | EOF</userinput></screen>
|
---|
| 81 |
|
---|
[fd48baa] | 82 | <screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
[b3f1ebb3] | 83 | DISTRIB_ID="Linux From Scratch"
|
---|
| 84 | DISTRIB_RELEASE="&version;-multilib"
|
---|
| 85 | DISTRIB_CODENAME="<your name here>"
|
---|
| 86 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
| 87 | EOF</userinput></screen>
|
---|
| 88 |
|
---|
[fd48baa] | 89 | <screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
[b3f1ebb3] | 90 | DISTRIB_ID="Linux From Scratch"
|
---|
| 91 | DISTRIB_RELEASE="&versiond;-multilib"
|
---|
| 92 | DISTRIB_CODENAME="<your name here>"
|
---|
| 93 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
[6e83fc16] | 94 | EOF</userinput></screen>
|
---|
[2ca8941] | 95 |
|
---|
[6e83fc16] | 96 | <para>Be sure to put some sort of customization for the field
|
---|
| 97 | 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
|
---|
| 98 |
|
---|
[6acc848] | 99 | </sect1>
|
---|