linux: don't take HEAD as default for git repositories

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@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas De Schampheleire 2013-07-24 09:22:59 +02:00 committed by Thomas Petazzoni
parent 5053786f9f
commit 3a7a0a707b

View File

@ -68,7 +68,6 @@ config BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL
config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION config BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
string "Custom Git version" string "Custom Git version"
default "HEAD"
depends on BR2_LINUX_KERNEL_CUSTOM_GIT depends on BR2_LINUX_KERNEL_CUSTOM_GIT
help help
Git revision to use in the format used by git rev-parse, Git revision to use in the format used by git rev-parse,