Changeset 1118b17 for chapter09/theend.xml
- Timestamp:
- 05/24/2016 09:24:59 PM (8 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 77ab7f3
- Parents:
- 11ebea6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/theend.xml
r11ebea6 r1118b17 19 19 </indexterm> 20 20 21 <indexterm zone="ch-finish-theend" revision="systemd"> 22 <primary sortas="e-/etc/os-release">/etc/os-release</primary> 23 </indexterm> 24 21 25 <para>Well done! The new LFS system is installed! We wish you much 22 26 success with your shiny new custom-built Linux system.</para> 23 27 24 <para>It may be a good idea to create an <filename>/etc/lfs-release</filename> 25 file. By having this file, it is very easy for you (and for us if you need to 26 ask for help at some point) to find out which LFS version is installed on the 27 system. Create this file by running:</para> 28 <para revision="systemd">Create an <filename>/etc/os-release</filename> 29 file required by systemd:</para> 28 30 29 <screen><userinput>echo &version; > /etc/lfs-release</userinput></screen> 31 <screen revision="systemd"><userinput>cat > /etc/os-release << "EOF" 32 NAME="Linux From Scratch" 33 VERSION="&versiond;" 34 ID=lfs 35 PRETTY_NAME="Linux From Scratch &versiond;" 36 EOF</userinput></screen> 37 38 <para revision="sysv">It may be a good idea to create an 39 <filename>/etc/lfs-release</filename> file. By having this file, it is very 40 easy for you (and for us if you need to ask for help at some point) to find 41 out which LFS version is installed on the system. Create this file by 42 running:</para> 43 44 <screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen> 45 46 <para revision="systemd">Creating the file 47 <filename>/etc/lfs-release</filename> is recommended for compatibility with 48 the non-systemd branch. By having this file, it is very easy for you (and for 49 us if you need to ask for help at some point) to find out which LFS version 50 is installed on the system. Create this file by running:</para> 51 52 <screen revision="systemd"><userinput>echo &version; > /etc/lfs-release</userinput></screen> 30 53 31 54 <para>It is also a good idea to create a file to show the status of your … … 33 56 this file, run:</para> 34 57 35 <screen ><userinput>cat > /etc/lsb-release << "EOF"58 <screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF" 36 59 DISTRIB_ID="Linux From Scratch" 37 60 DISTRIB_RELEASE="&version;" 61 DISTRIB_CODENAME="<your name here>" 62 DISTRIB_DESCRIPTION="Linux From Scratch" 63 EOF</userinput></screen> 64 65 <screen revision="systemd"><userinput>cat > /etc/lsb-release << "EOF" 66 DISTRIB_ID="Linux From Scratch" 67 DISTRIB_RELEASE="&versiond;" 38 68 DISTRIB_CODENAME="<your name here>" 39 69 DISTRIB_DESCRIPTION="Linux From Scratch"
Note:
See TracChangeset
for help on using the changeset viewer.