diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-16 11:56:28 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-16 11:56:28 +0000 |
commit | 675606bde2ba53946537b42a5aa576692a311621 (patch) | |
tree | af20c20ce3841c16b24d0b9903af6878a4a0f5a6 /chapter11/theend.xml | |
parent | 560065f976e371779928dbf8b9428217f3f57331 (diff) | |
parent | 1cd59612d00603c9ce773ad821a15d20bc4fa0b7 (diff) |
Split Chapter 5 into three separate chapters.
Implement a new method of cross-building the LFS tool chain
and other tools to simplify the method of isolating the
new system from the original host. This will be the start of
LFS-10.0.
Move old trunk/BOOK to branches/old-trunk.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11946 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter11/theend.xml')
-rw-r--r-- | chapter11/theend.xml | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/chapter11/theend.xml b/chapter11/theend.xml new file mode 100644 index 000000000..6a5f8ad7a --- /dev/null +++ b/chapter11/theend.xml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-finish-theend"> + <?dbhtml filename="theend.html"?> + + <title>The End</title> + + <indexterm zone="ch-finish-theend"> + <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary> + </indexterm> + + <indexterm zone="ch-finish-theend"> + <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary> + </indexterm> + + <indexterm zone="ch-finish-theend"> + <primary sortas="e-/etc/os-release">/etc/os-release</primary> + </indexterm> + + <para>Well done! The new LFS system is installed! We wish you much + success with your shiny new custom-built Linux system.</para> + + <para>It may be a good idea to create an + <filename>/etc/lfs-release</filename> file. By having this file, it is very + easy for you (and for us if you need to ask for help at some point) to find + out which LFS version is installed on the system. Create this file by + running:</para> + +<screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen> + +<screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen> + + <para>Two files describing the installed system may be used by packages + that can be installed on the system later, either in binary form or by building + them.</para> + + <para>The first one shows the status of your + new system with respect to the Linux Standards Base (LSB). To create + this file, run:</para> + +<screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF" +DISTRIB_ID="Linux From Scratch" +DISTRIB_RELEASE="&version;" +DISTRIB_CODENAME="<your name here>" +DISTRIB_DESCRIPTION="Linux From Scratch" +EOF</userinput></screen> + +<screen revision="systemd"><userinput>cat > /etc/lsb-release << "EOF" +DISTRIB_ID="Linux From Scratch" +DISTRIB_RELEASE="&versiond;" +DISTRIB_CODENAME="<your name here>" +DISTRIB_DESCRIPTION="Linux From Scratch" +EOF</userinput></screen> + + <para>The second one contains roughly the same information, and is used + by systemd and some graphical desktop environments. To create + this file, run:</para> + +<screen revision="sysv"><userinput>cat > /etc/os-release << "EOF" +NAME="Linux From Scratch" +VERSION="&version;" +ID=lfs +PRETTY_NAME="Linux From Scratch &version;" +VERSION_CODENAME="<your name here>" +EOF</userinput></screen> + +<screen revision="systemd"><userinput>cat > /etc/os-release << "EOF" +NAME="Linux From Scratch" +VERSION="&versiond;" +ID=lfs +PRETTY_NAME="Linux From Scratch &versiond;" +VERSION_CODENAME="<your name here>" +EOF</userinput></screen> + + <para>Be sure to put some sort of customization for the fields + 'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely + yours.</para> + +</sect1> |