1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-finish-theend">
|
---|
9 | <?dbhtml filename="theend.html"?>
|
---|
10 |
|
---|
11 | <title>The End</title>
|
---|
12 |
|
---|
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 |
|
---|
21 | <indexterm zone="ch-finish-theend">
|
---|
22 | <primary sortas="e-/etc/os-release">/etc/os-release</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
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>
|
---|
27 |
|
---|
28 | <para>It may be a good idea to create an
|
---|
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 |
|
---|
34 | <screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
---|
35 |
|
---|
36 | <screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
---|
37 |
|
---|
38 | <para>Two files describing the installed system may be used by packages
|
---|
39 | that can be installed on the system later, either in binary form or by building
|
---|
40 | them.</para>
|
---|
41 |
|
---|
42 | <para>The first one shows the status of your
|
---|
43 | new system with respect to the Linux Standards Base (LSB). To create
|
---|
44 | this file, run:</para>
|
---|
45 |
|
---|
46 | <screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
47 | DISTRIB_ID="Linux From Scratch"
|
---|
48 | DISTRIB_RELEASE="&version;"
|
---|
49 | DISTRIB_CODENAME="<your name here>"
|
---|
50 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
51 | EOF</userinput></screen>
|
---|
52 |
|
---|
53 | <screen revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
54 | DISTRIB_ID="Linux From Scratch"
|
---|
55 | DISTRIB_RELEASE="&versiond;"
|
---|
56 | DISTRIB_CODENAME="<your name here>"
|
---|
57 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
58 | EOF</userinput></screen>
|
---|
59 |
|
---|
60 | <para>The second one contains roughly the same information, and is used
|
---|
61 | by systemd and some graphical desktop environments. To create
|
---|
62 | this file, run:</para>
|
---|
63 |
|
---|
64 | <screen revision="sysv"><userinput>cat > /etc/os-release << "EOF"
|
---|
65 | NAME="Linux From Scratch"
|
---|
66 | VERSION="&version;"
|
---|
67 | ID=lfs
|
---|
68 | PRETTY_NAME="Linux From Scratch &version;"
|
---|
69 | VERSION_CODENAME="<your name here>"
|
---|
70 | EOF</userinput></screen>
|
---|
71 |
|
---|
72 | <screen revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
---|
73 | NAME="Linux From Scratch"
|
---|
74 | VERSION="&versiond;"
|
---|
75 | ID=lfs
|
---|
76 | PRETTY_NAME="Linux From Scratch &versiond;"
|
---|
77 | VERSION_CODENAME="<your name here>"
|
---|
78 | EOF</userinput></screen>
|
---|
79 |
|
---|
80 | <para>Be sure to put some sort of customization for the fields
|
---|
81 | 'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely
|
---|
82 | yours.</para>
|
---|
83 |
|
---|
84 | </sect1>
|
---|