|
@@ -1,4 +1,4 @@
|
|
|
-<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
@@ -8,7 +8,7 @@
|
|
|
<sect1 id="ch-finish-theend">
|
|
|
<?dbhtml filename="theend.html"?>
|
|
|
|
|
|
- <title>The End</title>
|
|
|
+ <title>收尾工作</title>
|
|
|
|
|
|
<indexterm zone="ch-finish-theend">
|
|
|
<primary sortas="e-/etc/lfs-release">/etc/lfs-release</primary>
|
|
@@ -22,11 +22,13 @@
|
|
|
<primary sortas="e-/etc/os-release">/etc/os-release</primary>
|
|
|
</indexterm>
|
|
|
|
|
|
- <para>Well done! The new LFS system is installed! We wish you much
|
|
|
- success with your shiny new custom-built Linux system.</para>
|
|
|
+ <!--para>Well done! The new LFS system is installed! We wish you much
|
|
|
+ success with your shiny new custom-built Linux system.</para-->
|
|
|
+ <para>很好!现在新的 LFS 系统已经安装好了!我们祝愿您在全新的,
|
|
|
+ 自定义的 Linux 系统中取得成功!</para>
|
|
|
|
|
|
- <para revision="systemd">Create an <filename>/etc/os-release</filename>
|
|
|
- file required by systemd:</para>
|
|
|
+ <para revision="systemd">创建 systemd 需要的
|
|
|
+ <filename>/etc/os-release</filename> 文件:</para>
|
|
|
|
|
|
<screen revision="systemd"><userinput>cat > /etc/os-release << "EOF"
|
|
|
NAME="Linux From Scratch"
|
|
@@ -44,17 +46,18 @@ EOF</userinput></screen>
|
|
|
|
|
|
<screen revision="sysv"><userinput>echo &version; > /etc/lfs-release</userinput></screen>
|
|
|
|
|
|
- <para revision="systemd">Creating the file
|
|
|
- <filename>/etc/lfs-release</filename> is recommended for compatibility with
|
|
|
- the non-systemd branch. By having this file, it is very easy for you (and for
|
|
|
- us if you need to ask for help at some point) to find out which LFS version
|
|
|
- is installed on the system. Create this file by running:</para>
|
|
|
+ <para revision="systemd">最好创建一个 /etc/lfs-release 文件,
|
|
|
+ 保持和非 systemd LFS 分支的一致性。
|
|
|
+ 有了这个文件,您(和我们,如果您需要帮助的话)
|
|
|
+ 能够容易地知道安装的 LFS 版本。运行以下命令创建该文件:</para>
|
|
|
|
|
|
<screen revision="systemd"><userinput>echo &versiond; > /etc/lfs-release</userinput></screen>
|
|
|
|
|
|
- <para>It is also a good idea to create a file to show the status of your
|
|
|
+ <!--para>It is also a good idea to create a file to show the status of your
|
|
|
new system with respect to the Linux Standards Base (LSB). To create
|
|
|
- this file, run:</para>
|
|
|
+ this file, run:</para-->
|
|
|
+ <para>另外,最好创建一个文件,根据 Linux Standards Base (LSB)
|
|
|
+ 的规则显示系统状态。运行下列命令创建该文件:</para>
|
|
|
|
|
|
<screen revision="sysv"><userinput>cat > /etc/lsb-release << "EOF"
|
|
|
DISTRIB_ID="Linux From Scratch"
|
|
@@ -70,7 +73,8 @@ DISTRIB_CODENAME="<your name here>"
|
|
|
DISTRIB_DESCRIPTION="Linux From Scratch"
|
|
|
EOF</userinput></screen>
|
|
|
|
|
|
- <para>Be sure to put some sort of customization for the field
|
|
|
- 'DISTRIB_CODENAME' to make the system uniquely yours.</para>
|
|
|
+ <!--para>Be sure to put some sort of customization for the field
|
|
|
+ 'DISTRIB_CODENAME' to make the system uniquely yours.</para-->
|
|
|
+ <para>您可以修改 'DISTRIB_CODENAME' 域,体现您的系统的独特性。</para>
|
|
|
|
|
|
</sect1>
|