From: Giuliano Procida <gprocida@google.com>
To: linux-kernel@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org, kernel-team@android.com,
elsk@google.com, Giuliano Procida <gprocida@google.com>
Subject: [PATCH REPOST] lib/build_OID_registry: do not embed full $0
Date: Mon, 5 Aug 2024 10:09:00 +0100 [thread overview]
Message-ID: <20240805090901.53986-1-gprocida@google.com> (raw)
Using $0 makes the output of this file sensitive to the Linux build
directory path. This is problematic for reproducible builds as it can
affect vmlinux's .debug_lines' section and vmlinux's build ID.
Signed-off-by: Giuliano Procida <gprocida@google.com>
---
lib/build_OID_registry | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/build_OID_registry b/lib/build_OID_registry
index d7fc32ea8ac2..06f242202036 100755
--- a/lib/build_OID_registry
+++ b/lib/build_OID_registry
@@ -35,7 +35,7 @@ close IN_FILE || die;
#
open C_FILE, ">$ARGV[1]" or die;
print C_FILE "/*\n";
-print C_FILE " * Automatically generated by ", $0, ". Do not edit\n";
+print C_FILE " * Automatically generated by build_OID_registry. Do not edit\n";
print C_FILE " */\n";
#
--
2.45.2.741.gdbec12cfda-goog
next reply other threads:[~2024-08-05 9:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 9:09 Giuliano Procida [this message]
2024-08-05 9:12 ` Giuliano Procida
2024-08-06 5:21 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240805090901.53986-1-gprocida@google.com \
--to=gprocida@google.com \
--cc=elsk@google.com \
--cc=kernel-team@android.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®