2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2005-12-18 13:13:31 +00:00
|
|
|
|
2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-finish-theend">
|
2005-12-18 13:13:31 +00:00
|
|
|
<?dbhtml filename="theend.html"?>
|
|
|
|
|
|
|
|
<title>The End</title>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<indexterm zone="ch-finish-theend">
|
|
|
|
<primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
|
|
|
|
</indexterm>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2014-09-09 14:04:21 +01:00
|
|
|
<indexterm zone="ch-finish-theend">
|
|
|
|
<primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2016-05-24 22:24:59 +01:00
|
|
|
<indexterm zone="ch-finish-theend" revision="systemd">
|
|
|
|
<primary sortas="e-/etc/os-release">/etc/os-release</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>Well done! The new LFS system is installed! We wish you much
|
|
|
|
success with your shiny new custom-built Linux system.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2016-05-24 22:24:59 +01:00
|
|
|
<para revision="systemd">Create an <filename>/etc/os-release</filename>
|
|
|
|
file required by systemd:</para>
|
|
|
|
|
|
|
|
<screen revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
|
|
|
NAME="Linux From Scratch"
|
|
|
|
VERSION="&versiond;"
|
|
|
|
ID=lfs
|
|
|
|
PRETTY_NAME="Linux From Scratch &versiond;"
|
2016-08-12 03:02:09 +01:00
|
|
|
VERSION_CODENAME="<your name here>"
|
2016-05-24 22:24:59 +01:00
|
|
|
EOF</userinput></screen>
|
|
|
|
|
|
|
|
<para revision="sysv">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>
|
2001-02-23 19:34:23 +00:00
|
|
|
|
2016-05-24 22:24:59 +01:00
|
|
|
<para revision="systemd">Creating the file
|
|
|
|
<filename>/etc/lfs-release</filename> is recommended for compatibility with
|
|
|
|
the non-systemd branch. 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>
|
|
|
|
|
2016-05-27 20:55:47 +01:00
|
|
|
<screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2012-05-11 02:52:51 +01:00
|
|
|
<para>It is also a good idea to create a file to show the status of your
|
2013-09-04 17:18:43 +01:00
|
|
|
new system with respect to the Linux Standards Base (LSB). To create
|
2012-05-11 02:52:51 +01:00
|
|
|
this file, run:</para>
|
|
|
|
|
2016-05-24 22:24:59 +01:00
|
|
|
<screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
2012-05-11 02:52:51 +01:00
|
|
|
DISTRIB_ID="Linux From Scratch"
|
|
|
|
DISTRIB_RELEASE="&version;"
|
|
|
|
DISTRIB_CODENAME="<your name here>"
|
|
|
|
DISTRIB_DESCRIPTION="Linux From Scratch"
|
2016-05-24 22:24:59 +01:00
|
|
|
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"
|
2012-05-11 02:52:51 +01:00
|
|
|
EOF</userinput></screen>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
2012-05-11 02:52:51 +01:00
|
|
|
<para>Be sure to put some sort of customization for the field
|
|
|
|
'DISTRIB_CODENAME' to make the system uniquely yours.</para>
|
|
|
|
|
2001-02-23 19:34:23 +00:00
|
|
|
</sect1>
|