[oe-commits] [openembedded-core] 04/15: kernel.bbclass: improve reproducibility

git at git.openembedded.org git at git.openembedded.org
Tue Apr 3 10:11:05 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 7fa32ee42c3320e9e2b24ef747e43484b719f617
Author: Jonathan Liu <net147 at gmail.com>
AuthorDate: Tue Apr 3 14:23:31 2018 +1000

    kernel.bbclass: improve reproducibility
    
    Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on
    every build. It is visible in the output of "cat /proc/version" after
    the hash character.
    
    Signed-off-by: Jonathan Liu <net147 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 4877965..78d6c30 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -151,6 +151,7 @@ PACKAGES_DYNAMIC += "^${KERNEL_PACKAGE_NAME}-firmware-.*"
 
 export OS = "${TARGET_OS}"
 export CROSS_COMPILE = "${TARGET_PREFIX}"
+export KBUILD_BUILD_VERSION = "1"
 export KBUILD_BUILD_USER = "oe-user"
 export KBUILD_BUILD_HOST = "oe-host"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list