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/os-release">/etc/os-release</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <para>Well done! The new LFS system is installed! We wish you much
|
---|
18 | success with your shiny new custom-built Linux system.</para>
|
---|
19 |
|
---|
20 | <para>Create an <filename>/etc/os-release</filename> file required by
|
---|
21 | Systemd:</para>
|
---|
22 |
|
---|
23 | <screen><userinput>cat > /etc/os-release << "EOF"
|
---|
24 | NAME="Linux From Scratch"
|
---|
25 | VERSION="&version;"
|
---|
26 | ID=lfs
|
---|
27 | PRETTY_NAME="Linux From Scratch &version;"
|
---|
28 | EOF</userinput></screen>
|
---|
29 |
|
---|
30 | <para>It is recommended to create <filename>/etc/lfs-release</filename>
|
---|
31 | for compatibility with non Systemd branch. By having this file, it is very
|
---|
32 | easy for you (and for us if you need to ask for help at some point) to find
|
---|
33 | out which LFS version is installed on the system. Create this file by
|
---|
34 | running:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
---|
37 |
|
---|
38 | <para>It is also a good idea to create a file to show the status of your
|
---|
39 | new system with respect to the Linux Standards Base (LSB). To create
|
---|
40 | this file, run:</para>
|
---|
41 |
|
---|
42 | <screen><userinput>cat > /etc/lsb-release << "EOF"
|
---|
43 | DISTRIB_ID="Linux From Scratch"
|
---|
44 | DISTRIB_RELEASE="&version;"
|
---|
45 | DISTRIB_CODENAME="<your name here>"
|
---|
46 | DISTRIB_DESCRIPTION="Linux From Scratch"
|
---|
47 | EOF</userinput></screen>
|
---|
48 |
|
---|
49 | <para>Be sure to put some sort of customization for the field
|
---|
50 | 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
|
---|
51 |
|
---|
52 | </sect1>
|
---|