diff options
Diffstat (limited to 'chapter11/theend.xml')
-rw-r--r-- | chapter11/theend.xml | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/chapter11/theend.xml b/chapter11/theend.xml index 6a5f8ad7a..8470948a3 100644 --- a/chapter11/theend.xml +++ b/chapter11/theend.xml @@ -31,37 +31,28 @@ 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><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 + <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" +<screen><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" +<screen><userinput>cat > /etc/os-release << "EOF" NAME="Linux From Scratch" VERSION="&version;" ID=lfs @@ -69,14 +60,6 @@ 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> |