[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 |
|
---|
[46ded2b] | 13 | <indexterm zone="ch-finish-theend">
|
---|
| 14 | <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <indexterm zone="ch-finish-theend">
|
---|
| 18 | <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
|
---|
| 19 | </indexterm>
|
---|
| 20 |
|
---|
[7686ca6] | 21 | <indexterm zone="ch-finish-theend">
|
---|
[d415c2b] | 22 | <primary sortas="e-/etc/os-release">/etc/os-release</primary>
|
---|
[7686ca6] | 23 | </indexterm>
|
---|
[81fd230] | 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 |
|
---|
[b1a51ac1] | 28 | <para>Create an <filename>/etc/os-release</filename> file required by
|
---|
[967d78e] | 29 | systemd:</para>
|
---|
[6acc848] | 30 |
|
---|
[d415c2b] | 31 | <screen><userinput>cat > /etc/os-release << "EOF"
|
---|
| 32 | NAME="Linux From Scratch"
|
---|
| 33 | VERSION="&version;"
|
---|
| 34 | ID=lfs
|
---|
| 35 | PRETTY_NAME="Linux From Scratch &version;"
|
---|
[6e83fc16] | 36 | EOF</userinput></screen>
|
---|
[ce5ebe1] | 37 |
|
---|
[b1a51ac1] | 38 | <para>It is recommended to create <filename>/etc/lfs-release</filename>
|
---|
[967d78e] | 39 | for compatibility with non systemd branch. By having this file, it is very
|
---|
[b1a51ac1] | 40 | easy for you (and for us if you need to ask for help at some point) to find
|
---|
| 41 | out which LFS version is installed on the system. Create this file by
|
---|
| 42 | running:</para>
|
---|
| 43 |
|
---|
| 44 | <screen><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
---|
| 45 |
|
---|
| 46 | <para>It is also a good idea to create a file to show the status of your
|
---|
| 47 | new system with respect to the Linux Standards Base (LSB). To create
|
---|
| 48 | this file, run:</para>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput>cat > /etc/lsb-release << "EOF"
|
---|
| 51 | DISTRIB_ID="Linux From Scratch"
|
---|
| 52 | DISTRIB_RELEASE="&version;"
|
---|
| 53 | DISTRIB_CODENAME="<your name here>"
|
---|
| 54 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
| 55 | EOF</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <para>Be sure to put some sort of customization for the field
|
---|
| 58 | 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
|
---|
| 59 |
|
---|
[6acc848] | 60 | </sect1>
|
---|