guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/16: gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibil


From: guix-commits
Subject: 10/16: gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility.
Date: Wed, 29 May 2024 22:03:16 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit e7afa035d42f0feb9dff8ea66a3686e44bd22802
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue May 14 11:46:28 2024 -0400

    gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility.
    
    * gnu/packages/linux.scm (make-linux-libre*) [phases] {set-environment}: Set
    KBUILD_BUILD_VERSION to 1.
    
    Change-Id: I6c2e561605a13c757a4eb4d1c59343ba26464067
---
 gnu/packages/linux.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2ce2c27c93..69cb8c878b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1023,6 +1023,7 @@ ARCH and optionally VARIANT, or #f if there is no such 
configuration."
               (setenv "KBUILD_BUILD_TIMESTAMP" (getenv "SOURCE_DATE_EPOCH"))
 
               ;; Other variables useful for reproducibility.
+              (setenv "KBUILD_BUILD_VERSION" "1")
               (setenv "KBUILD_BUILD_USER" "guix")
               (setenv "KBUILD_BUILD_HOST" "guix")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]