From: Felix Moessbauer <felix.moessbauer@siemens.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 1/1] do not forward SDE into sbuild environment
Date: Fri, 17 May 2024 17:05:05 +0200 [thread overview]
Message-ID: <20240517150505.569940-1-felix.moessbauer@siemens.com> (raw)
The SOURCE_DATE_EPOCH inside the sbuild environment is automatically set
according to the debian changelog. By that, we do not need to explicitly
forward a possibly different, but ignored value into the sbuild
environment.
This patch also fixes a warning about converting the SDE to a template.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta/classes/dpkg.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/dpkg.bbclass b/meta/classes/dpkg.bbclass
index 3fa9f604..0e25eb76 100644
--- a/meta/classes/dpkg.bbclass
+++ b/meta/classes/dpkg.bbclass
@@ -50,6 +50,7 @@ dpkg_runbuild() {
# Filter some standard variables
echo ${line} | grep -q "^HOME=" && continue
echo ${line} | grep -q "^PWD=" && continue
+ echo ${line} | grep -q "^SOURCE_DATE_EPOCH=" && continue
var=$(echo "${line}" | cut -d '=' -f1)
value=$(echo "${line}" | cut -d '=' -f2-)
--
2.39.2
next reply other threads:[~2024-05-17 15:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 15:05 Felix Moessbauer [this message]
2024-05-17 15:28 ` Jan Kiszka
2024-05-28 5:39 ` Uladzimir Bely
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=20240517150505.569940-1-felix.moessbauer@siemens.com \
--to=felix.moessbauer@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/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