[Buildroot] [git commit] linux: don't take HEAD as default for git repositories

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 13 09:59:57 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=3a7a0a707be0f0a4b115990ce704a730b85ee3e4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Specifying a floating tag like HEAD for a repository version is bad practice,
as it results in non-reproducible builds. This patch removes the default
assignment of HEAD as version when a custom git repository is used for the
Linux kernel.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 linux/Config.in |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/linux/Config.in b/linux/Config.in
index 065696a..f6acddf 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -68,7 +68,6 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL
 
 config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
 	string "Custom Git version"
-	default "HEAD"
 	depends on BR2_LINUX_KERNEL_CUSTOM_GIT
 	help
 	  Git revision to use in the format used by git rev-parse,


More information about the buildroot mailing list