linux: don't take HEAD as default for git repositories
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Wed, 24 Jul 2013 07:22:59 +0000 (09:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 13 Aug 2013 09:59:57 +0000 (11:59 +0200)
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>
linux/Config.in

index 065696a9ba9cb52a99fcdfbc4a4fa9f46066ba21..f6acddf29ebde8bfda1a7d4f02559ccef256dbd2 100644 (file)
@@ -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,