From: Jonathan Liu Date: Tue, 3 Apr 2018 04:23:31 +0000 (+1000) Subject: kernel.bbclass: improve reproducibility X-Git-Tag: uninative-1.9~57 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7fa32ee42c3320e9e2b24ef747e43484b719f617;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 4877965af0..78d6c30b07 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"