* [PATCH 1/1] do not forward SDE into sbuild environment
@ 2024-05-17 15:05 Felix Moessbauer
2024-05-17 15:28 ` Jan Kiszka
2024-05-28 5:39 ` Uladzimir Bely
0 siblings, 2 replies; 3+ messages in thread
From: Felix Moessbauer @ 2024-05-17 15:05 UTC (permalink / raw)
To: isar-users; +Cc: jan.kiszka, Felix Moessbauer
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] do not forward SDE into sbuild environment
2024-05-17 15:05 [PATCH 1/1] do not forward SDE into sbuild environment Felix Moessbauer
@ 2024-05-17 15:28 ` Jan Kiszka
2024-05-28 5:39 ` Uladzimir Bely
1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2024-05-17 15:28 UTC (permalink / raw)
To: Felix Moessbauer, isar-users
On 17.05.24 17:05, Felix Moessbauer wrote:
> 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.
>
To be clear: That warning was only visible with a not-yet-published
patch of mine.
Jan
> 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-)
--
Siemens AG, Technology
Linux Expert Center
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] do not forward SDE into sbuild environment
2024-05-17 15:05 [PATCH 1/1] do not forward SDE into sbuild environment Felix Moessbauer
2024-05-17 15:28 ` Jan Kiszka
@ 2024-05-28 5:39 ` Uladzimir Bely
1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2024-05-28 5:39 UTC (permalink / raw)
To: Felix Moessbauer, isar-users
On Fri, 2024-05-17 at 17:05 +0200, 'Felix Moessbauer' via isar-users
wrote:
> 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
>
Applied to next, thanks.
--
Best regards,
Uladzimir.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-28 5:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17 15:05 [PATCH 1/1] do not forward SDE into sbuild environment Felix Moessbauer
2024-05-17 15:28 ` Jan Kiszka
2024-05-28 5:39 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox