diff --git a/zh_CN/chapter07/changingowner.po b/zh_CN/chapter07/changingowner.po index 979cbb1..129d00c 100644 --- a/zh_CN/chapter07/changingowner.po +++ b/zh_CN/chapter07/changingowner.po @@ -65,7 +65,6 @@ msgstr "" #. type: Content of: #: lfs-en/chapter07/changingowner.xml -#, fuzzy, no-wrap -#| msgid "chown -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}" +#, no-wrap msgid "chown --from lfs -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}" -msgstr "chown -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}" +msgstr "chown --from lfs -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}" diff --git a/zh_CN/chapter08/binutils.po b/zh_CN/chapter08/binutils.po index 6c6bbe0..86b51ed 100644 --- a/zh_CN/chapter08/binutils.po +++ b/zh_CN/chapter08/binutils.po @@ -450,17 +450,7 @@ msgstr "&binutils-fin-du;" #. type: Content of: #: lfs-en/chapter08/binutils.xml -#, fuzzy, no-wrap -#| msgid "" -#| "../configure --prefix=/usr \\\n" -#| " --sysconfdir=/etc \\\n" -#| " --enable-ld=default \\\n" -#| " --enable-plugins \\\n" -#| " --enable-shared \\\n" -#| " --disable-werror \\\n" -#| " --enable-64-bit-bfd \\\n" -#| " --with-system-zlib \\\n" -#| " --enable-default-hash-style=gnu" +#, no-wrap msgid "" "../configure --prefix=/usr \\\n" " --sysconfdir=/etc \\\n" @@ -480,6 +470,7 @@ msgstr "" " --enable-shared \\\n" " --disable-werror \\\n" " --enable-64-bit-bfd \\\n" +" --enable-new-dtags \\\n" " --with-system-zlib \\\n" " --enable-default-hash-style=gnu" diff --git a/zh_CN/chapter08/gcc.po b/zh_CN/chapter08/gcc.po index f2bf424..c5f18a5 100644 --- a/zh_CN/chapter08/gcc.po +++ b/zh_CN/chapter08/gcc.po @@ -736,14 +736,9 @@ msgstr "现在移除或修复若干已知会失败的测试:" #. type: Content of: #: lfs-en/chapter08/gcc.xml -#, fuzzy, no-wrap -#| msgid "" -#| "sed -e 's/lib64/lib/' \\\n" -#| " -i.orig gcc/config/loongarch/{t-linux,linux.h}" +#, no-wrap msgid "sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp" -msgstr "" -"sed -e 's/lib64/lib/' \\\n" -" -i.orig gcc/config/loongarch/{t-linux,linux.h}" +msgstr "sed -e '/cpython/d' -i ../gcc/testsuite/gcc.dg/plugin/plugin.exp" #. type: Content of: #: lfs-en/chapter08/gcc.xml @@ -797,6 +792,11 @@ msgid "" "update-threading.c, and vect-117.c " "are known to fail." msgstr "" +"已知名为 gen-vect-11b.c, gen-vect-11c.c, gen-vect-26.c, gen-vect-28.c, pr64076, pr108357.c, " +"update-threading.c, 以及 vect-117.c 的测试会失败。" #. The GCC developers #. are usually aware of these issues, but have not resolved them yet. diff --git a/zh_CN/chapter08/grub.po b/zh_CN/chapter08/grub.po index 79ac36c..4f655d3 100644 --- a/zh_CN/chapter08/grub.po +++ b/zh_CN/chapter08/grub.po @@ -490,6 +490,14 @@ msgid "" "option> option and skip the command to install the /usr/lib/grub/x86_64-efi directory." msgstr "" +"在 LoongArch 系统上,以下命令为 UEFI 构建 GRUB。但由于 LFS 不包含 FreeType 软" +"件包和 Unifont 数据文件,GRUB 不会安装用于引导器的字体,导致 GRUB 引导目录使" +"用较为粗糙的字体,或只占据整个屏幕中较小的一部分区域。如果您希望解决这一问" +"题,在 LFS 系统构建完成后,安装 FreeType,然后按照 BLFS 中的说明 补充安装这里未安装的 GRUB 组件,但要移除 " +" 选项并跳过安装 /" +"usr/lib/grub/x86_64-efi 目录的命令。" #. type: Content of: #: lfs-en/chapter08/grub.xml diff --git a/zh_CN/chapter08/python.po b/zh_CN/chapter08/python.po index afe814e..1370dd1 100644 --- a/zh_CN/chapter08/python.po +++ b/zh_CN/chapter08/python.po @@ -610,6 +610,8 @@ msgid "" "One test named test.test_asyncio.test_sendfile is known " "to fail depending on the version and configuration of the host kernel." msgstr "" +"已知名为 test.test_asyncio.test_sendfile 的测试在一些宿主" +"内核版本和配置中可能失败。" #. type: Content of: #: lfs-en/chapter08/python.xml diff --git a/zh_CN/chapter08/util-linux.po b/zh_CN/chapter08/util-linux.po index ec6b1ee..1309af4 100644 --- a/zh_CN/chapter08/util-linux.po +++ b/zh_CN/chapter08/util-linux.po @@ -662,15 +662,6 @@ msgstr "" #. type: Content of: #: lfs-en/chapter08/util-linux.xml -#, fuzzy -#| msgid "" -#| "The hardlink tests will fail if the host's kernel " -#| "does not have the option " -#| "enabled or does not have any options providing a SHA256 implementation " -#| "(for example, , or " -#| " if the CPU supports " -#| "Supplemental SSE3) enabled. In addition, two sub-tests from misc: " -#| "mbsencode and one sub-test from script: replay are known to fail." msgid "" "The hardlink tests will fail if the host's kernel does " "not have the option enabled or " @@ -681,10 +672,9 @@ msgid "" msgstr "" "如果宿主系统内核没有启用配置选项 ,或者 " -" —— 如果 CPU 支持扩展 SSE3),则 " -"hardlink 测试会失败。另外,已知 misc: mbsencode 测试和 " -"script: replay 测试中各有一项子测试可能失败。" +"),则 hardlink 测试" +"会失败。另外,已知 lsfd: inotify 测试在内核配置选项 " +" 未启用时会失败。" #. type: Content of: #: lfs-en/chapter08/util-linux.xml diff --git a/zh_CN/chapter10/grub.po b/zh_CN/chapter10/grub.po index 33a5b5c..86f1937 100644 --- a/zh_CN/chapter10/grub.po +++ b/zh_CN/chapter10/grub.po @@ -52,18 +52,14 @@ msgstr "使用 GRUB 设定引导过程" #. type: Content of: <sect1><note><para> #: lfs-en/chapter10/grub.xml -#, fuzzy -#| msgid "" -#| "If your system does not support UEFI or you don't want to use it, you'll " -#| "need to figure out how to configure the booting process of the system on " -#| "your own." msgid "" "This section assume your system has UEFI support and you wish to boot LFS " "with UEFI. If your system does not support UEFI or you don't want to use " "it, you'll need to figure out how to configure the booting process of the " "system on your own." msgstr "" -"如果您的系统不支持 UEFI,或者您不想使用它,您需要自行寻找配置引导过程的方法。" +"本节假设您的系统支持 UEFI 且您希望使用它引导 LFS 系统。如果您的系统不支持 " +"UEFI,或者您不想使用它,您需要自行寻找配置引导过程的方法。" #. type: Content of: <sect1><sect2><warning><para> #: lfs-en/chapter10/grub.xml @@ -318,16 +314,6 @@ msgstr "" #. type: Content of: <sect1><sect2><note><para> #: lfs-en/chapter10/grub.xml -#, fuzzy -#| msgid "" -#| "Some UEFI implementation may completely skip the hardcoded path if there " -#| "are other boot loaders in the same hard drive with paths recorded in an " -#| "EFI variable. Then you need to create an EFI variable for the newly " -#| "installed boot loader. Install <ulink url=\"&blfs-book;postlfs/" -#| "efibootmgr.html\">efibootmgr</ulink>, then run the following commands: " -#| "<placeholder type=\"screen\" id=\"0\"/> Replace <filename>/dev/sda</" -#| "filename> with the device node of the hard drive where you are installing " -#| "GRUB into." msgid "" "Some UEFI implementation may completely skip the hardcoded path if there are " "other boot loaders in the same hard drive with paths recorded in an EFI " @@ -339,9 +325,10 @@ msgid "" msgstr "" "某些 UEFI 实现在同一硬盘中存在记录于 EFI 变量的引导加载器时,会完全忽略硬编码" "的路径。此时您需要为新安装的引导加载器创建一个 EFI 变量。安装 <ulink " -"url=\"&blfs-book;postlfs/efibootmgr.html\">efibootmgr</ulink>,运行下列命令:" -"<placeholder type=\"screen\" id=\"0\"/> 将 <filename>/dev/sda</filename> 替换" -"为安装 GRUB 的硬盘对应的设备节点路径。" +"url=\"&blfs-book;postlfs/efibootmgr.html\">efibootmgr</ulink>,并按照 <ulink " +"url=\"&blfs-book;postlfs/grub-setup.html\">BLFS 中的说明</ulink>在不用 " +"<parameter>--removable</parameter> 选项的情况下执行 <command>grub-install</" +"command> 命令。" #. type: Content of: <sect1><sect2><title> #: lfs-en/chapter10/grub.xml @@ -355,23 +342,7 @@ msgstr "生成 <filename>/boot/grub/grub.cfg</filename>:" #. type: Content of: <sect1><sect2><screen> #: lfs-en/chapter10/grub.xml -#, fuzzy, no-wrap -#| msgid "" -#| "<userinput>cat > /boot/grub/grub.cfg << \"EOF\"\n" -#| "<literal># Begin /boot/grub/grub.cfg\n" -#| "set default=0\n" -#| "set timeout=5\n" -#| "\n" -#| "insmod part_gpt\n" -#| "insmod ext2\n" -#| "set root=(hd0,2)\n" -#| "\n" -#| "insmod all_video\n" -#| "\n" -#| "menuentry \"GNU/Linux, Linux &linux-version;-lfs-&version;\" {\n" -#| " linux /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro\n" -#| "}</literal>\n" -#| "EOF</userinput>" +#, no-wrap msgid "" "<userinput>cat > /boot/grub/grub.cfg << \"EOF\"\n" "<literal># Begin /boot/grub/grub.cfg\n" @@ -399,7 +370,8 @@ msgstr "" "insmod ext2\n" "set root=(hd0,2)\n" "\n" -"insmod all_video\n" +"insmod efi_gop\n" +"insmod efi_uga\n" "\n" "menuentry \"GNU/Linux, Linux &linux-version;-lfs-&version;\" {\n" " linux /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro\n"