| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 | <?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" revision="systemd">    <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 revision="systemd">Create an <filename>/etc/os-release</filename>         file required by systemd:</para><screen arch="default" revision="systemd"><userinput>cat > /etc/os-release << "EOF"NAME="Linux From Scratch"VERSION="&versiond;"ID=lfsPRETTY_NAME="Linux From Scratch &versiond;"VERSION_CODENAME="<your name here>"EOF</userinput></screen><screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /etc/os-release << "EOF"NAME="Linux From Scratch"VERSION="&versiond;"ID=lfsPRETTY_NAME="Linux From Scratch &versiond; Multlib"VERSION_CODENAME="<your name here>"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 arch="default" revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen><screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>echo &version;-multilib > /etc/lfs-release</userinput></screen>  <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><screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>  <para>It is also a good idea to create a file to show the status of your  new system with respect to the Linux Standards Base (LSB).  To create  this file, run:</para><screen arch="default" 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 arch="default" 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><screen arch="ml_32,ml_x32,ml_all" revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"DISTRIB_ID="Linux From Scratch"DISTRIB_RELEASE="&version;-multilib"DISTRIB_CODENAME="<your name here>"DISTRIB_DESCRIPTION="Linux From Scratch"EOF</userinput></screen><screen arch="ml_32,ml_x32,ml_all" revision="systemd"><userinput>cat > /etc/lsb-release << "EOF"DISTRIB_ID="Linux From Scratch"DISTRIB_RELEASE="&versiond;-multilib"DISTRIB_CODENAME="<your name here>"DISTRIB_DESCRIPTION="Linux From Scratch"EOF</userinput></screen>  <para>Be sure to put some sort of customization for the field  'DISTRIB_CODENAME' to make the system uniquely yours.</para></sect1>
 |