[Buildroot] [git commit branch/next] core: fix download menu

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Aug 8 10:56:43 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=3318a5a798a37bd2b55feb619f8d0a90b9c7ddd2
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Currently, when one enables the "Only allow downloads from primary"
option, all the other mirror options are hidden (expected!) but the
LuaRocks and CPAN mirrors (bad!).

Fix that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 Config.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Config.in b/Config.in
index e10427f..8b1bd8d 100644
--- a/Config.in
+++ b/Config.in
@@ -218,8 +218,6 @@ config BR2_GNU_MIRROR
 	     http://ftp.gnu.org/pub/gnu
 	     http://mirror.aarnet.edu.au/pub/gnu
 
-endif
-
 config BR2_LUAROCKS_MIRROR
 	string "LuaRocks mirror"
 	default "http://rocks.moonscript.org"
@@ -239,6 +237,8 @@ config BR2_CPAN_MIRROR
 	  The list of mirrors is available at:
 	  http://search.cpan.org/mirror
 
+endif
+
 endmenu
 
 config BR2_JLEVEL


More information about the buildroot mailing list