From 1118b1757d67c5e7deb4c9e4b864b00f9d8a8b0c Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 24 May 2016 21:24:59 +0000 Subject: Create branches/merge in svn repo fo rtesting of merged LFS books git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter09/theend.xml | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) (limited to 'chapter09/theend.xml') diff --git a/chapter09/theend.xml b/chapter09/theend.xml index e7d9f3068..2d29242b0 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -18,25 +18,55 @@ /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. - 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: + Create an /etc/os-release + file required by systemd: + +cat > /etc/os-release << "EOF" +NAME="Linux From Scratch" +VERSION="&versiond;" +ID=lfs +PRETTY_NAME="Linux From Scratch &versiond;" +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; > /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 &version; > /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" +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 Be sure to put some sort of customization for the field -- cgit v1.2.3-54-g00ecf