[Buildroot] [PATCH 2 of 6 v2] linux: don't take HEAD as default for git repositories

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Wed Jul 24 07:22:59 UTC 2013

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>

(v2): new patch in series after comment from Peter

 linux/Config.in |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/linux/Config.in b/linux/Config.in
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -68,7 +68,6 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_
 	string "Custom Git version"
-	default "HEAD"
 	  Git revision to use in the format used by git rev-parse,

More information about the buildroot mailing list