source: chapter11/theend.xml@ fcc02767

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 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 fcc02767 was fcc02767, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Initial commit of alternative cross LFS

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

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[b06ca36]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[7686ca6]7
[3be4d97]8<sect1 id="ch-finish-theend">
[7686ca6]9 <?dbhtml filename="theend.html"?>
10
11 <title>The End</title>
[673b0d8]12
[7686ca6]13 <indexterm zone="ch-finish-theend">
14 <primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
15 </indexterm>
[81fd230]16
[74a9218]17 <indexterm zone="ch-finish-theend">
18 <primary sortas="e-/etc/lsb-release">/etc/lsb-release</primary>
19 </indexterm>
20
[6a57b4c]21 <indexterm zone="ch-finish-theend">
[1118b17]22 <primary sortas="e-/etc/os-release">/etc/os-release</primary>
23 </indexterm>
24
[7686ca6]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>
[81fd230]27
[6a57b4c]28 <para>It may be a good idea to create an
[1118b17]29 <filename>/etc/lfs-release</filename> file. By having this file, it is very
30 easy for you (and for us if you need to ask for help at some point) to find
31 out which LFS version is installed on the system. Create this file by
32 running:</para>
33
34<screen revision="sysv"><userinput>echo &version; &gt; /etc/lfs-release</userinput></screen>
[6acc848]35
[e787b1f]36<screen revision="systemd"><userinput>echo &versiond; &gt; /etc/lfs-release</userinput></screen>
[5ba7054]37
[6a57b4c]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
[7bfe7df]43 new system with respect to the Linux Standards Base (LSB). To create
[6e83fc16]44 this file, run:</para>
45
[1118b17]46<screen revision="sysv"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
[6e83fc16]47DISTRIB_ID="Linux From Scratch"
48DISTRIB_RELEASE="&version;"
49DISTRIB_CODENAME="&lt;your name here&gt;"
50DISTRIB_DESCRIPTION="Linux From Scratch"
[1118b17]51EOF</userinput></screen>
52
53<screen revision="systemd"><userinput>cat &gt; /etc/lsb-release &lt;&lt; "EOF"
54DISTRIB_ID="Linux From Scratch"
55DISTRIB_RELEASE="&versiond;"
56DISTRIB_CODENAME="&lt;your name here&gt;"
57DISTRIB_DESCRIPTION="Linux From Scratch"
[6e83fc16]58EOF</userinput></screen>
[2ca8941]59
[6a57b4c]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 &gt; /etc/os-release &lt;&lt; "EOF"
65NAME="Linux From Scratch"
66VERSION="&version;"
67ID=lfs
68PRETTY_NAME="Linux From Scratch &version;"
69VERSION_CODENAME="&lt;your name here&gt;"
70EOF</userinput></screen>
71
72<screen revision="systemd"><userinput>cat &gt; /etc/os-release &lt;&lt; "EOF"
73NAME="Linux From Scratch"
74VERSION="&versiond;"
75ID=lfs
76PRETTY_NAME="Linux From Scratch &versiond;"
77VERSION_CODENAME="&lt;your name here&gt;"
78EOF</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>
[6e83fc16]83
[6acc848]84</sect1>
Note: See TracBrowser for help on using the repository browser.