Add patches for mpfr, binutils, glibc, bash
[linux_from_scratch.git] / chapter09 / theend.xml
blob48ece36ad869bd40b36a9389feafaf74327f9b1d
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 ]>
8 <sect1 id="ch-finish-theend">
9   <?dbhtml filename="theend.html"?>
11   <title>The End</title>
13   <indexterm zone="ch-finish-theend">
14     <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
15   </indexterm>
17   <indexterm zone="ch-finish-theend">
18     <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
19   </indexterm>
21   <indexterm zone="ch-finish-theend">
22     <primary sortas="e-/etc/os-release">/etc/os-release</primary>
23   </indexterm>
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>
28   <para>Create an <filename>/etc/os-release</filename> file required by
29   systemd:</para>
31 <screen><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
32 NAME="Linux From Scratch"
33 VERSION="&version;"
34 ID=lfs
35 PRETTY_NAME="Linux From Scratch &version;"
36 EOF</userinput></screen>
38   <para>It is recommended to create <filename>/etc/lfs-release</filename>
39   for compatibility with non systemd branch. By having this file, it is very
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>
44 <screen><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
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>
50 <screen><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
51 DISTRIB_ID="Linux From Scratch"
52 DISTRIB_RELEASE="&version;"
53 DISTRIB_CODENAME="&lt;your name here&gt;"
54 DISTRIB_DESCRIPTION="Linux From Scratch"
55 EOF</userinput></screen>
57   <para>Be sure to put some sort of customization for the field
58   'DISTRIB_CODENAME' to make the system uniquely yours.</para>
60 </sect1>