NetBSD Problem Report #57923

From www@netbsd.org  Sun Feb 11 00:34:44 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 560691A9238
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Feb 2024 00:34:44 +0000 (UTC)
Message-Id: <20240211003443.1273B1A9239@mollari.NetBSD.org>
Date: Sun, 11 Feb 2024 00:34:43 +0000 (UTC)
From: jbglaw@lug-owl.de
Reply-To: jbglaw@lug-owl.de
To: gnats-bugs@NetBSD.org
Subject: [RB] evbmips: Use $MKREPRO_TIMESTAMP for mkubootimage
X-Send-Pr-Version: www-1.0

>Number:         57923
>Category:       misc
>Synopsis:       [RB] evbmips: Use $MKREPRO_TIMESTAMP for mkubootimage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 11 00:35:00 +0000 2024
>Last-Modified:  Sun Feb 11 17:15:01 +0000 2024
>Originator:     Jan-Benedict Glaw
>Release:        current
>Organization:
>Environment:
>Description:
One more fix for reproducible builds, this is found for evbmips/mipseb.
>How-To-Repeat:
Build twice, compare build artifacts.
>Fix:
diff --git a/sys/arch/evbmips/conf/Makefile.evbmips.inc b/sys/arch/evbmips/conf/Makefile.evbmips.inc
index d5cf3bb16024..d1856abcb914 100644
--- a/sys/arch/evbmips/conf/Makefile.evbmips.inc
+++ b/sys/arch/evbmips/conf/Makefile.evbmips.inc
@@ -39,6 +39,9 @@ MKUBOOTIMAGEARGS+=    -E $(TEXTADDR)
 MKUBOOTIMAGEARGS+=     -e $(TEXTADDR)
 .endif
 MKUBOOTIMAGEARGS+=      -n "$(MACHINE) ${_OSRELEASE} ($(KERNEL_BUILD:T))"
+.if ${MKREPRO_TIMESTAMP:Uno} != "no"
+MKUBOOTIMAGEARGS+= -t "${MKREPRO_TIMESTAMP}"
+.endif

 .if ${NEED_UBOOTIMAGE:Mgz} == "gz"
 MKUBOOTIMAGEARGS+=     -C gz

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57923 CVS commit: src/sys/arch/evbmips/conf
Date: Sun, 11 Feb 2024 12:13:02 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Sun Feb 11 17:13:02 UTC 2024

 Modified Files:
 	src/sys/arch/evbmips/conf: Makefile.evbmips.inc

 Log Message:
 PR/57923: Jan-Benedict Glaw: Use $MKREPRO_TIMESTAMP for mkubootimage


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/Makefile.evbmips.inc

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.