|
@@ -49,15 +49,16 @@
|
|
|
|
|
|
<para>删除在 chroot 环境中无法构建的测试:</para>
|
|
|
|
|
|
-<screen><userinput remap="pre">sed '171,$ d' -i src/resolve/meson.build</userinput></screen>
|
|
|
+<screen><userinput remap="pre">sed '166,$ d' -i src/resolve/meson.build</userinput></screen>
|
|
|
|
|
|
<!-- These are from upstream. There will probably be a new release shortly,
|
|
|
- so don't bother with a patch. -->
|
|
|
- <para>进行一些由上游提供的修复:</para>
|
|
|
+ so don't bother with a patch.
|
|
|
+ <para>Make some fixes from upstream:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i '527,565 d' src/basic/missing.h
|
|
|
sed -i '24 d' src/core/load-fragment.c
|
|
|
sed -i '53 a#include <sys/mount.h>' src/shared/bus-unit-util.c</userinput></screen>
|
|
|
+-->
|
|
|
|
|
|
<para>从默认的 udev 规则中删除不必要的组
|
|
|
<systemitem class="groupname">render</systemitem>:</para>
|
|
@@ -176,8 +177,7 @@ meson --prefix=/usr \
|
|
|
|
|
|
<para>删除一个不需要的目录:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
|
|
|
-
|
|
|
+<screen><userinput remap="install">rm -rfv /usr/lib/rpm
|
|
|
<!--
|
|
|
<para>创建 Sysvinit 兼容性符号链接,使 systemd 被用作默认 init 系统:
|
|
|
</para>
|
|
@@ -187,10 +187,7 @@ meson --prefix=/usr \
|
|
|
done
|
|
|
ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
|
|
|
-->
|
|
|
-
|
|
|
- <para>删除之前创建的 xsltproc 符号链接:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
|
|
|
+rm -f /usr/bin/xsltproc</userinput></screen>
|
|
|
|
|
|
<para>创建 <command>systemd-journald</command> 需要的
|
|
|
<filename>/etc/machine-id</filename> 文件:</para>
|