-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
109 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-12-31 21:33+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:25+0800\n" | ||
"PO-Revision-Date: 2022-02-05 22:45+0800\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -46,6 +46,20 @@ msgstr "下面是本书自上一版本发布以来的更新日志。" | |
msgid "Changelog Entries:" | ||
msgstr "更新日志记录:" | ||
|
||
#. type: Content of: <sect1><itemizedlist><listitem><para> | ||
#: lfs-en/chapter01/changelog.xml | ||
msgid "2024-01-09" | ||
msgstr "2024 年 1 月 9 日" | ||
|
||
#. type: Content of: <sect1><itemizedlist><listitem><itemizedlist><listitem><para> | ||
#: lfs-en/chapter01/changelog.xml | ||
msgid "" | ||
"[renodr] - Fix the definition of the C.UTF-8 locale. Fixes <ulink url=\"&lfs-" | ||
"ticket-root;5409\">#5409</ulink>." | ||
msgstr "" | ||
"[renodr] — 改正 C.UTF-8 locale 的定义。修复 <ulink url='&lfs-ticket-" | ||
"root;5409'>#5409</ulink>。" | ||
|
||
#. type: Content of: <sect1><itemizedlist><listitem><para> | ||
#: lfs-en/chapter01/changelog.xml | ||
msgid "2023-12-31" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.4\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-11-24 11:47+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:25+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -161,11 +161,11 @@ msgid "" | |
"Setting the user file-creation mask (umask) to 022 ensures that newly " | ||
"created files and directories are only writable by their owner, but are " | ||
"readable and executable by anyone (assuming default modes are used by the " | ||
"<function>open(2)</function> system call, new files will end up with " | ||
"<filename>open(2)</filename> system call, new files will end up with " | ||
"permission mode 644 and directories with mode 755)." | ||
msgstr "" | ||
"将用户的文件创建掩码 (umask) 设定为 022,保证只有文件所有者可以写新创建的文件" | ||
"和目录,但任何人都可读取、执行它们。(如果 <function>open(2)</function> 系统调" | ||
"和目录,但任何人都可读取、执行它们。(如果 <filename>open(2)</filename> 系统调" | ||
"用使用默认模式,则新文件将具有权限模式 644,而新目录具有权限模式 755)。" | ||
|
||
#. type: Content of: <sect1><variablelist><varlistentry><term> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-12-31 21:32+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:25+0800\n" | ||
"PO-Revision-Date: 2021-08-25 04:40+0800\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -370,10 +370,10 @@ msgid "" | |
"executables. The hash tables are only intended for a dynamic linker to " | ||
"perform symbol lookup. On LFS the dynamic linker (provided by the Glibc " | ||
"package) will always use the GNU-style hash table which is faster to query. " | ||
"So the classic ELF hash table is completely useless. This makes the the " | ||
"linker only generate the GNU-style hash table by default, so we can avoid " | ||
"wasting time to generate the classic ELF hash table when we build the " | ||
"packages, or wasting disk space to store it." | ||
"So the classic ELF hash table is completely useless. This makes the linker " | ||
"only generate the GNU-style hash table by default, so we can avoid wasting " | ||
"time to generate the classic ELF hash table when we build the packages, or " | ||
"wasting disk space to store it." | ||
msgstr "" | ||
"默认情况下,链接器会为共享库和动态链接的可执行文件同时生成 GNU 风格的散列表和" | ||
"经典的 ELF 散列表。散列表仅供动态链接器进行符号查询。LFS 系统的动态链接器 " | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.4\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2022-11-29 19:07+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:25+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -116,7 +116,7 @@ msgid "" | |
"sure that any user can write to the <filename class=\"directory\">/tmp</" | ||
"filename> and <filename class=\"directory\">/var/tmp</filename> directories, " | ||
"but cannot remove another user's files from them. The latter is prohibited " | ||
"by the so-called <quote>sticky bit,</quote> the highest bit (1) in the 1777 " | ||
"by the so-called <quote>sticky bit</quote>, the highest bit (1) in the 1777 " | ||
"bit mask." | ||
msgstr "" | ||
"第一个修改能保证不是所有人都能进入 <filename class=\"directory\">/root</" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-10-02 11:33+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:25+0800\n" | ||
"PO-Revision-Date: 2021-08-21 11:33+0800\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -121,14 +121,14 @@ msgstr "Glibc" | |
#: lfs-en/chapter08/perl.xml lfs-en/chapter08/pkgconf.xml | ||
#: lfs-en/chapter08/procps.xml lfs-en/chapter08/psmisc.xml | ||
#: lfs-en/chapter08/python.xml lfs-en/chapter08/readline.xml | ||
#: lfs-en/chapter08/sed.xml lfs-en/chapter08/shadow.xml | ||
#: lfs-en/chapter08/sysklogd.xml lfs-en/chapter08/systemd.xml | ||
#: lfs-en/chapter08/sysvinit.xml lfs-en/chapter08/tar.xml | ||
#: lfs-en/chapter08/tcl.xml lfs-en/chapter08/texinfo.xml | ||
#: lfs-en/chapter08/udev.xml lfs-en/chapter08/util-linux.xml | ||
#: lfs-en/chapter08/vim.xml lfs-en/chapter08/wheel.xml | ||
#: lfs-en/chapter08/xml-parser.xml lfs-en/chapter08/xz.xml | ||
#: lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter08/sed.xml lfs-en/chapter08/setuptools.xml | ||
#: lfs-en/chapter08/shadow.xml lfs-en/chapter08/sysklogd.xml | ||
#: lfs-en/chapter08/systemd.xml lfs-en/chapter08/sysvinit.xml | ||
#: lfs-en/chapter08/tar.xml lfs-en/chapter08/tcl.xml | ||
#: lfs-en/chapter08/texinfo.xml lfs-en/chapter08/udev.xml | ||
#: lfs-en/chapter08/util-linux.xml lfs-en/chapter08/vim.xml | ||
#: lfs-en/chapter08/wheel.xml lfs-en/chapter08/xml-parser.xml | ||
#: lfs-en/chapter08/xz.xml lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter09/bootscripts.xml lfs-en/chapter10/kernel.xml | ||
msgid "&buildtime;" | ||
msgstr "&buildtime;" | ||
|
@@ -179,14 +179,14 @@ msgstr "&buildtime;" | |
#: lfs-en/chapter08/perl.xml lfs-en/chapter08/pkgconf.xml | ||
#: lfs-en/chapter08/procps.xml lfs-en/chapter08/psmisc.xml | ||
#: lfs-en/chapter08/python.xml lfs-en/chapter08/readline.xml | ||
#: lfs-en/chapter08/sed.xml lfs-en/chapter08/shadow.xml | ||
#: lfs-en/chapter08/sysklogd.xml lfs-en/chapter08/systemd.xml | ||
#: lfs-en/chapter08/sysvinit.xml lfs-en/chapter08/tar.xml | ||
#: lfs-en/chapter08/tcl.xml lfs-en/chapter08/texinfo.xml | ||
#: lfs-en/chapter08/udev.xml lfs-en/chapter08/util-linux.xml | ||
#: lfs-en/chapter08/vim.xml lfs-en/chapter08/wheel.xml | ||
#: lfs-en/chapter08/xml-parser.xml lfs-en/chapter08/xz.xml | ||
#: lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter08/sed.xml lfs-en/chapter08/setuptools.xml | ||
#: lfs-en/chapter08/shadow.xml lfs-en/chapter08/sysklogd.xml | ||
#: lfs-en/chapter08/systemd.xml lfs-en/chapter08/sysvinit.xml | ||
#: lfs-en/chapter08/tar.xml lfs-en/chapter08/tcl.xml | ||
#: lfs-en/chapter08/texinfo.xml lfs-en/chapter08/udev.xml | ||
#: lfs-en/chapter08/util-linux.xml lfs-en/chapter08/vim.xml | ||
#: lfs-en/chapter08/wheel.xml lfs-en/chapter08/xml-parser.xml | ||
#: lfs-en/chapter08/xz.xml lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter09/bootscripts.xml lfs-en/chapter10/kernel.xml | ||
msgid "&diskspace;" | ||
msgstr "&diskspace;" | ||
|
@@ -310,13 +310,14 @@ msgstr "<userinput remap=\"make\">make</userinput>" | |
#: lfs-en/chapter08/openssl.xml lfs-en/chapter08/patch.xml | ||
#: lfs-en/chapter08/pkgconf.xml lfs-en/chapter08/procps.xml | ||
#: lfs-en/chapter08/psmisc.xml lfs-en/chapter08/python.xml | ||
#: lfs-en/chapter08/readline.xml lfs-en/chapter08/shadow.xml | ||
#: lfs-en/chapter08/sysklogd.xml lfs-en/chapter08/systemd.xml | ||
#: lfs-en/chapter08/sysvinit.xml lfs-en/chapter08/tar.xml | ||
#: lfs-en/chapter08/tcl.xml lfs-en/chapter08/texinfo.xml | ||
#: lfs-en/chapter08/udev.xml lfs-en/chapter08/util-linux.xml | ||
#: lfs-en/chapter08/vim.xml lfs-en/chapter08/xml-parser.xml | ||
#: lfs-en/chapter08/xz.xml lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter08/readline.xml lfs-en/chapter08/setuptools.xml | ||
#: lfs-en/chapter08/shadow.xml lfs-en/chapter08/sysklogd.xml | ||
#: lfs-en/chapter08/systemd.xml lfs-en/chapter08/sysvinit.xml | ||
#: lfs-en/chapter08/tar.xml lfs-en/chapter08/tcl.xml | ||
#: lfs-en/chapter08/texinfo.xml lfs-en/chapter08/udev.xml | ||
#: lfs-en/chapter08/util-linux.xml lfs-en/chapter08/vim.xml | ||
#: lfs-en/chapter08/xml-parser.xml lfs-en/chapter08/xz.xml | ||
#: lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter09/bootscripts.xml | ||
msgid "Install the package:" | ||
msgstr "安装该软件包:" | ||
|
@@ -564,11 +565,11 @@ msgstr "安装的程序" | |
#: lfs-en/chapter08/less.xml lfs-en/chapter08/libelf.xml | ||
#: lfs-en/chapter08/libffi.xml lfs-en/chapter08/libpipeline.xml | ||
#: lfs-en/chapter08/libxcrypt.xml lfs-en/chapter08/m4.xml | ||
#: lfs-en/chapter08/mpc.xml lfs-en/chapter08/mpfr.xml | ||
#: lfs-en/chapter08/patch.xml lfs-en/chapter08/procps.xml | ||
#: lfs-en/chapter08/psmisc.xml lfs-en/chapter08/tar.xml | ||
#: lfs-en/chapter08/texinfo.xml lfs-en/chapter08/xz.xml | ||
#: lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#: lfs-en/chapter08/man-db.xml lfs-en/chapter08/mpc.xml | ||
#: lfs-en/chapter08/mpfr.xml lfs-en/chapter08/patch.xml | ||
#: lfs-en/chapter08/procps.xml lfs-en/chapter08/psmisc.xml | ||
#: lfs-en/chapter08/tar.xml lfs-en/chapter08/texinfo.xml | ||
#: lfs-en/chapter08/xz.xml lfs-en/chapter08/zlib.xml lfs-en/chapter08/zstd.xml | ||
#, no-wrap | ||
msgid "<userinput remap=\"test\">make check</userinput>" | ||
msgstr "<userinput remap=\"test\">make check</userinput>" | ||
|
@@ -867,7 +868,7 @@ msgstr "" | |
#, no-wrap | ||
msgid "" | ||
"<userinput remap=\"locale-test\">mkdir -pv /usr/lib/locale\n" | ||
"localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true\n" | ||
"localedef -i C -f UTF-8 C.UTF-8\n" | ||
"localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8\n" | ||
"localedef -i de_DE -f ISO-8859-1 de_DE\n" | ||
"localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro\n" | ||
|
@@ -904,7 +905,7 @@ msgid "" | |
"localedef -i zh_TW -f UTF-8 zh_TW.UTF-8</userinput>" | ||
msgstr "" | ||
"<userinput remap=\"locale-test\">mkdir -pv /usr/lib/locale\n" | ||
"localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true\n" | ||
"localedef -i C -f UTF-8 C.UTF-8\n" | ||
"localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8\n" | ||
"localedef -i de_DE -f ISO-8859-1 de_DE\n" | ||
"localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro\n" | ||
|
@@ -981,10 +982,10 @@ msgstr "" | |
#: lfs-en/chapter08/glibc.xml | ||
#, no-wrap | ||
msgid "" | ||
"<userinput remap=\"locale-full\">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true\n" | ||
"<userinput remap=\"locale-full\">localedef -i C -f UTF-8 C.UTF-8\n" | ||
"localedef -i ja_JP -f SHIFT_JIS ja_JP.SJIS 2> /dev/null || true</userinput>" | ||
msgstr "" | ||
"<userinput remap=\"locale-full\">localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true\n" | ||
"<userinput remap=\"locale-full\">localedef -i C -f UTF-8 C.UTF-8\n" | ||
"localedef -i ja_JP -f SHIFT_JIS ja_JP.SJIS 2> /dev/null || true</userinput>" | ||
|
||
#. type: Content of: <sect1><sect2><note><para> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-11-14 02:01+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:25+0800\n" | ||
"PO-Revision-Date: 2021-08-31 16:47+0800\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -674,11 +674,11 @@ msgstr "<command>openssl</command>" | |
msgid "" | ||
"is a command-line tool for using the various cryptography functions of " | ||
"<application>OpenSSL</application>'s crypto library from the shell. It can " | ||
"be used for various functions which are documented in <command>man 1 " | ||
"openssl</command>" | ||
"be used for various functions which are documented in <filename>openssl(1)</" | ||
"filename>" | ||
msgstr "" | ||
"一个命令行工具,用于从 shell 使用 <application>OpenSSL</application>的密码学" | ||
"库的一些密码学函数。它可以被用于 <command>man 1 openssl</command>描述的许多功" | ||
"库的一些密码学函数。它可以被用于 <filename>openssl(1)</filename>描述的许多功" | ||
"能" | ||
|
||
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> | ||
|
@@ -720,11 +720,10 @@ msgstr "<filename class=\"libraryfile\">libssl.so</filename>" | |
#: lfs-en/chapter08/openssl.xml | ||
msgid "" | ||
"implements the Transport Layer Security (TLS v1) protocol. It provides a " | ||
"rich API, documentation on which can be found by running <command>man 7 ssl</" | ||
"command>" | ||
"rich API, documentation on which can be found in <filename>ssl(7)</filename>" | ||
msgstr "" | ||
"实现传输层安全 (TLS v1) 协议。它提供了丰富的 API,这些 API 的文档可以通过执" | ||
"行 <command>man 7 ssl</command>查阅" | ||
"实现传输层安全 (TLS v1) 协议。它提供了丰富的 API,这些 API 的文档可以在 " | ||
"<filename>ssl(7)</filename> 中查阅" | ||
|
||
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> | ||
#: lfs-en/chapter08/openssl.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.4\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-12-31 21:32+0800\n" | ||
"POT-Creation-Date: 2024-01-15 13:50+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -494,7 +494,7 @@ msgid "" | |
" -Drpmmacrosdir=no \\\n" | ||
" -Dhomed=disabled \\\n" | ||
" -Duserdb=false \\\n" | ||
" -Dman=false \\\n" | ||
" -Dman=disabled \\\n" | ||
" -Dmode=release \\\n" | ||
" -Dpamconfdir=no \\\n" | ||
" -Ddev-kvm-mode=0660 \\\n" | ||
|
@@ -518,7 +518,7 @@ msgstr "" | |
" -Drpmmacrosdir=no \\\n" | ||
" -Dhomed=disabled \\\n" | ||
" -Duserdb=false \\\n" | ||
" -Dman=false \\\n" | ||
" -Dman=disabled \\\n" | ||
" -Dmode=release \\\n" | ||
" -Dpamconfdir=no \\\n" | ||
" -Ddev-kvm-mode=0660 \\\n" | ||
|
@@ -646,8 +646,8 @@ msgstr "移除两个守护程序,它们的依赖项超出了 LFS 的范围。" | |
|
||
#. type: Content of: <sect1><sect2><variablelist><varlistentry><term> | ||
#: lfs-en/chapter08/systemd.xml | ||
msgid "<parameter>-Dman=false</parameter>" | ||
msgstr "<parameter>-Dman=false</parameter>" | ||
msgid "<parameter>-Dman=disabled</parameter>" | ||
msgstr "<parameter>-Dman=disabled</parameter>" | ||
|
||
#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> | ||
#: lfs-en/chapter08/systemd.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Linux From Scratch 11.4\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-12-22 18:09+0800\n" | ||
"POT-Creation-Date: 2024-01-15 12:30+0800\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Xi Ruoyao <[email protected]>\n" | ||
"Language-Team: none\n" | ||
|
@@ -587,18 +587,21 @@ msgstr "" | |
#: lfs-en/chapter08/udev.xml | ||
msgid "" | ||
"Get the list of the shipped udev helpers and save it into an environment " | ||
"variable:" | ||
msgstr "获取软件包提供的 udev 辅助程序列表,并将其保存在环境变量中:" | ||
"variable (exporting it is not strictly necessary, but it makes building as a " | ||
"regular user or using a package manager easier):" | ||
msgstr "" | ||
"获取软件包提供的 udev 辅助程序列表并将其保存到环境变量中 (实际上并不需要导出" | ||
"该变量,但这使得以非特权用户身份进行构建或使用包管理器更容易):" | ||
|
||
#. type: Content of: <sect1><sect2><screen> | ||
#: lfs-en/chapter08/udev.xml | ||
#, no-wrap | ||
msgid "" | ||
"<userinput remap=\"make\">udev_helpers=$(grep \"'name' :\" ../src/udev/meson.build | \\\n" | ||
" awk '{print $3}' | tr -d \",'\" | grep -v 'udevadm')</userinput>" | ||
"<userinput remap=\"make\">export udev_helpers=$(grep \"'name' :\" ../src/udev/meson.build | \\\n" | ||
" awk '{print $3}' | tr -d \",'\" | grep -v 'udevadm')</userinput>" | ||
msgstr "" | ||
"<userinput remap=\"make\">udev_helpers=$(grep \"'name' :\" ../src/udev/meson.build | \\\n" | ||
" awk '{print $3}' | tr -d \",'\" | grep -v 'udevadm')</userinput>" | ||
"<userinput remap=\"make\">export udev_helpers=$(grep \"'name' :\" ../src/udev/meson.build | \\\n" | ||
" awk '{print $3}' | tr -d \",'\" | grep -v 'udevadm')</userinput>" | ||
|
||
#. type: Content of: <sect1><sect2><para> | ||
#: lfs-en/chapter08/udev.xml | ||
|
@@ -612,12 +615,12 @@ msgid "" | |
"<userinput remap=\"make\">ninja udevadm systemd-hwdb \\\n" | ||
" $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \\\n" | ||
" $(realpath libudev.so --relative-to .) \\\n" | ||
" $udev_helpers udevadm</userinput>" | ||
" $udev_helpers</userinput>" | ||
msgstr "" | ||
"<userinput remap=\"make\">ninja udevadm systemd-hwdb \\\n" | ||
" $(ninja -n | grep -Eo '(src/(lib)?udev|rules.d|hwdb.d)/[^ ]*') \\\n" | ||
" $(realpath libudev.so --relative-to .) \\\n" | ||
" $udev_helpers udevadm</userinput>" | ||
" $udev_helpers</userinput>" | ||
|
||
#. type: Content of: <sect1><sect2><screen> | ||
#: lfs-en/chapter08/udev.xml | ||
|
@@ -717,6 +720,19 @@ msgstr "" | |
"\n" | ||
"rm /usr/share/man/man*/systemd*</userinput>" | ||
|
||
#. type: Content of: <sect1><sect2><para> | ||
#: lfs-en/chapter08/udev.xml | ||
msgid "Finally, unset the <envar>udev_helpers</envar> variable:" | ||
msgstr "最后,移除 <envar>udev_helpers</envar> 变量:" | ||
|
||
#. remap="make" seems confusing but we don't have sth. like | ||
#. remap="clean". | ||
#. type: Content of: <sect1><sect2><screen> | ||
#: lfs-en/chapter08/udev.xml | ||
#, no-wrap | ||
msgid "<userinput remap=\"install\">unset udev_helpers</userinput>" | ||
msgstr "<userinput remap=\"install\">unset udev_helpers</userinput>" | ||
|
||
#. type: Content of: <sect1><sect2><title> | ||
#: lfs-en/chapter08/udev.xml | ||
msgid "Configuring Udev" | ||
|
Oops, something went wrong.