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" revision="systemd">
|
---|
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 revision="systemd">Create an <filename>/etc/os-release</filename>
|
---|
29 | file required by systemd:</para>
|
---|
30 |
|
---|
31 | <screen revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
---|
32 | NAME="Linux From Scratch"
|
---|
33 | VERSION="&versiond;"
|
---|
34 | ID=lfs
|
---|
35 | PRETTY_NAME="Linux From Scratch &versiond;"
|
---|
36 | VERSION_CODENAME="<your name here>"
|
---|
37 | EOF</userinput></screen>
|
---|
38 |
|
---|
39 | <para revision="sysv">It may be a good idea to create an
|
---|
40 | <filename>/etc/lfs-release</filename> file. By having this file, it is very
|
---|
41 | easy for you (and for us if you need to ask for help at some point) to find
|
---|
42 | out which LFS version is installed on the system. Create this file by
|
---|
43 | running:</para>
|
---|
44 |
|
---|
45 | <screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
---|
46 |
|
---|
47 | <para revision="systemd">Creating the file
|
---|
48 | <filename>/etc/lfs-release</filename> is recommended for compatibility with
|
---|
49 | the non-systemd branch. By having this file, it is very easy for you (and for
|
---|
50 | us if you need to ask for help at some point) to find out which LFS version
|
---|
51 | is installed on the system. Create this file by running:</para>
|
---|
52 |
|
---|
53 | <screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
---|
54 |
|
---|
55 | <para>It is also a good idea to create a file to show the status of your
|
---|
56 | new system with respect to the Linux Standards Base (LSB). To create
|
---|
57 | this file, run:</para>
|
---|
58 |
|
---|
59 | <screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
60 | DISTRIB_ID="Linux From Scratch"
|
---|
61 | DISTRIB_RELEASE="&version;"
|
---|
62 | DISTRIB_CODENAME="<your name here>"
|
---|
63 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
64 | EOF</userinput></screen>
|
---|
65 |
|
---|
66 | <screen revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"
|
---|
67 | DISTRIB_ID="Linux From Scratch"
|
---|
68 | DISTRIB_RELEASE="&versiond;"
|
---|
69 | DISTRIB_CODENAME="<your name here>"
|
---|
70 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
71 | EOF</userinput></screen>
|
---|
72 |
|
---|
73 | <para>Be sure to put some sort of customization for the field
|
---|
74 | 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
|
---|
75 |
|
---|
76 | </sect1>
|
---|