[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251105024016.104413-1-zhaochenguang@kylinos.cn>
Date: Wed, 5 Nov 2025 10:40:16 +0800
From: Chenguang Zhao <zhaochenguang@...inos.cn>
To: Alex Shi <alexs@...nel.org>,
Yanteng Si <si.yanteng@...ux.dev>,
Dongliang Mu <dzm91@...t.edu.cn>,
Jonathan Corbet <corbet@....net>
Cc: Chenguang Zhao <zhaochenguang@...inos.cn>,
linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH linux-next] docs/zh_CN: Sync the translation of changes in kbuild.rst
Sync the translation of changes in kbuild/kbuild.rst about
KBUILD_BUILD_TIMESTAMP.
Signed-off-by: Chenguang Zhao <zhaochenguang@...inos.cn>
---
Documentation/translations/zh_CN/kbuild/kbuild.rst | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Documentation/translations/zh_CN/kbuild/kbuild.rst b/Documentation/translations/zh_CN/kbuild/kbuild.rst
index e5e2aebe1ebc..bacf058272ca 100644
--- a/Documentation/translations/zh_CN/kbuild/kbuild.rst
+++ b/Documentation/translations/zh_CN/kbuild/kbuild.rst
@@ -290,8 +290,13 @@ IGNORE_DIRS
KBUILD_BUILD_TIMESTAMP
----------------------
将该环境变量设置为日期字符串,可以覆盖在 UTS_VERSION 定义中使用的时间戳
-(运行内核时的 uname -v)。该值必须是一个可以传递给 date -d 的字符串。默认值是
-内核构建某个时刻的 date 命令输出。
+(运行内核时的 uname -v)。该值必须是一个可以传递给 date -d 的字符串。例如::
+
+ $ KBUILD_BUILD_TIMESTAMP="Mon Oct 13 00:00:00 UTC 2025" make
+
+默认值是内核构建某个时刻的 date 命令输出。如果提供该时戳,它还用于任何initramfs归档文件
+中的mtime字段。Initramfs mtimes是32位的,因此早于Unix纪元1970年,或晚于协调世界时
+(UTC)2106年2月7日6时28分15秒的日期是无效的。
KBUILD_BUILD_USER, KBUILD_BUILD_HOST
------------------------------------
--
2.25.1
Powered by blists - more mailing lists