From 6e83fc16f3c5493fb2f0eebae2a31dff84c0be8c Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 11 May 2012 01:52:51 +0000 Subject: Add /etc/lsb-release to Chapter 9 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9848 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 9 +++++++++ chapter09/theend.xml | 14 ++++++++++++++ general.ent | 4 ++-- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c4614fe96..b8cae5d77 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,15 @@ --> + + 2012-05-10 + + + [bdubbs] - Add /etc/lsb-release file in Chapter 9. + + + + 2012-05-09 diff --git a/chapter09/theend.xml b/chapter09/theend.xml index 77a709d8a..230784c1a 100644 --- a/chapter09/theend.xml +++ b/chapter09/theend.xml @@ -24,4 +24,18 @@ echo &version; > /etc/lfs-release + It is also a good idea to create a file to show the status of your + new system with resopect 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 + + Be sure to put some sort of customization for the field + 'DISTRIB_CODENAME' to make the system uniquely yours. + diff --git a/general.ent b/general.ent index 5bdd96b8a..4333f0cd0 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + -- cgit v1.2.3-54-g00ecf