Changeset 6a57b4c for chapter09/theend.xml
- Timestamp:
- 01/09/2020 09:02:55 AM (4 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, 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:
- ae5423f
- Parents:
- 7e42b39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/theend.xml
r7e42b39 r6a57b4c 19 19 </indexterm> 20 20 21 <indexterm zone="ch-finish-theend" revision="systemd">21 <indexterm zone="ch-finish-theend"> 22 22 <primary sortas="e-/etc/os-release">/etc/os-release</primary> 23 23 </indexterm> … … 26 26 success with your shiny new custom-built Linux system.</para> 27 27 28 <para revision="systemd">Create an <filename>/etc/os-release</filename> 29 file required by systemd:</para> 30 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 VERSION_CODENAME="<your name here>" 37 EOF</userinput></screen> 38 39 <para revision="sysv">It may be a good idea to create an 28 <para>It may be a good idea to create an 40 29 <filename>/etc/lfs-release</filename> file. By having this file, it is very 41 30 easy for you (and for us if you need to ask for help at some point) to find … … 45 34 <screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen> 46 35 47 <para revision="systemd">Creating the file48 <filename>/etc/lfs-release</filename> is recommended for compatibility with49 the non-systemd branch. By having this file, it is very easy for you (and for50 us if you need to ask for help at some point) to find out which LFS version51 is installed on the system. Create this file by running:</para>52 53 36 <screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen> 54 37 55 <para>It is also a good idea to create a file to show the status of your 38 <para>Two files describing the installed system may be used by packages 39 that will be installed on the system, either in binary form or by building 40 them.</para> 41 42 <para>The first one shows the status of your 56 43 new system with respect to the Linux Standards Base (LSB). To create 57 44 this file, run:</para> … … 71 58 EOF</userinput></screen> 72 59 73 <para>Be sure to put some sort of customization for the field 74 'DISTRIB_CODENAME' to make the system uniquely yours.</para> 60 <para>The second one contains roughly the same information, and is used 61 by systemd and some graphical desktop environments. To create 62 this file, run:</para> 63 64 <screen revision="sysv"><userinput>cat > /etc/os-release << "EOF" 65 NAME="Linux From Scratch" 66 VERSION="&version;" 67 ID=lfs 68 PRETTY_NAME="Linux From Scratch &version;" 69 VERSION_CODENAME="<your name here>" 70 EOF</userinput></screen> 71 72 <screen revision="systemd"><userinput>cat > /etc/os-release << "EOF" 73 NAME="Linux From Scratch" 74 VERSION="&versiond;" 75 ID=lfs 76 PRETTY_NAME="Linux From Scratch &versiond;" 77 VERSION_CODENAME="<your name here>" 78 EOF</userinput></screen> 79 80 <para>Be sure to put some sort of customization for the fields 81 'DISTRIB_CODENAME' and 'VERSION_CODENAME' to make the system uniquely 82 yours.</para> 75 83 76 84 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.