From 6077ed49edff335821dcfa7dbc5c5f21fa37e6a1 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Sun, 12 Jan 2020 08:03:38 +0000 Subject: [PATCH] Drop patching file git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11723 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter09/theend.xml | 111 +++++++++++++++++++------------------------ 1 file changed, 48 insertions(+), 63 deletions(-) diff --git a/chapter09/theend.xml b/chapter09/theend.xml index ffcd32b0e..9f2ca17cc 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -18,17 +18,58 @@ /etc/lsb-release - + /etc/os-release Well done! The new LFS system is installed! We wish you much success with your shiny new custom-built Linux system. - Create an /etc/os-release - file required by systemd: + It may be a good idea to create an + /etc/lfs-release 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: -cat > /etc/os-release << "EOF" +echo &version; > /etc/lfs-release + +echo &versiond; > /etc/lfs-release + + Two files describing the installed system may be used by packages + that will be installed on the system, either in binary form or by building + them. + + The first one shows the status of your + new system with respect to the Linux Standards Base (LSB). To create + this file, run: + +cat > /etc/lsb-release << "EOF" +DISTRIB_ID="Linux From Scratch" +DISTRIB_RELEASE="&version;" +DISTRIB_CODENAME="<your name here>" +DISTRIB_DESCRIPTION="Linux From Scratch" +EOF + +cat > /etc/lsb-release << "EOF" +DISTRIB_ID="Linux From Scratch" +DISTRIB_RELEASE="&versiond;" +DISTRIB_CODENAME="<your name here>" +DISTRIB_DESCRIPTION="Linux From Scratch" +EOF + + The second one contains roughly the same information, and is used + by systemd and some graphical desktop environments. To create + this file, run: + +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 + +cat > /etc/os-release << "EOF" NAME="Linux From Scratch" VERSION="&versiond;" ID=lfs @@ -36,64 +77,8 @@ PRETTY_NAME="Linux From Scratch &versiond;" VERSION_CODENAME="<your name here>" EOF -cat > /etc/os-release << "EOF" -NAME="Linux From Scratch" -VERSION="&versiond;" -ID=lfs -PRETTY_NAME="Linux From Scratch &versiond; Multlib" -VERSION_CODENAME="<your name here>" -EOF - - It may be a good idea to create an - /etc/lfs-release 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: - -echo &version; > /etc/lfs-release -echo &version;-multilib > /etc/lfs-release - - Creating the file - /etc/lfs-release 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: - -echo &versiond; > /etc/lfs-release - - 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: - -cat > /etc/lsb-release << "EOF" -DISTRIB_ID="Linux From Scratch" -DISTRIB_RELEASE="&version;" -DISTRIB_CODENAME="<your name here>" -DISTRIB_DESCRIPTION="Linux From Scratch" -EOF - -cat > /etc/lsb-release << "EOF" -DISTRIB_ID="Linux From Scratch" -DISTRIB_RELEASE="&versiond;" -DISTRIB_CODENAME="<your name here>" -DISTRIB_DESCRIPTION="Linux From Scratch" -EOF - -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 - -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 - - Be sure to put some sort of customization for the field - 'DISTRIB_CODENAME' to make the system uniquely yours. + Be sure to put some sort of customization for the fields + 'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely + yours.