source: chapter09/theend.xml@ ab44d4bc

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
Last change on this file since ab44d4bc was e787b1f, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to dbus-1.10.8.
Update to e2fsprogs-1.43.
Update to gdbm-1.12.
Update to iproute2-4.6.0.
Update to make-4.2.
Update to systemd-230.

Add additional explanatory text for sytemctl and journalctl commands.
[chapter07/systemd-custom.xml]

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-finish-theend">
9 <?dbhtml filename="theend.html"?>
10
11 <title>The End</title>
12
13 <indexterm zone="ch-finish-theend">
14 <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
15 </indexterm>
16
17 <indexterm zone="ch-finish-theend">
18 <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
19 </indexterm>
20
21 <indexterm zone="ch-finish-theend" revision="systemd">
22 <primary sortas="e-/etc/os-release">/etc/os-release</primary>
23 </indexterm>
24
25 <para>Well done! The new LFS system is installed! We wish you much
26 success with your shiny new custom-built Linux system.</para>
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 &gt; /etc/os-release &lt;&lt; "EOF"
32NAME="Linux From Scratch"
33VERSION="&versiond;"
34ID=lfs
35PRETTY_NAME="Linux From Scratch &versiond;"
36EOF</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; &gt; /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 &versiond; &gt; /etc/lfs-release</userinput></screen>
53
54 <para>It is also a good idea to create a file to show the status of your
55 new system with respect to the Linux Standards Base (LSB). To create
56 this file, run:</para>
57
58<screen revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
59DISTRIB_ID="Linux From Scratch"
60DISTRIB_RELEASE="&version;"
61DISTRIB_CODENAME="&lt;your name here&gt;"
62DISTRIB_DESCRIPTION="Linux From Scratch"
63EOF</userinput></screen>
64
65<screen revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
66DISTRIB_ID="Linux From Scratch"
67DISTRIB_RELEASE="&versiond;"
68DISTRIB_CODENAME="&lt;your name here&gt;"
69DISTRIB_DESCRIPTION="Linux From Scratch"
70EOF</userinput></screen>
71
72 <para>Be sure to put some sort of customization for the field
73 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
74
75</sect1>
Note: See TracBrowser for help on using the repository browser.