diff mbox

[10/28] dropbear: Allow specifying SRC_URI tarball extention

Message ID eafede05e585f32cb209a5d3ef86205cc8061ffa.1397117164.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk April 10, 2014, 8:09 a.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/dropbear/dropbear.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/recipes/dropbear/dropbear.inc b/recipes/dropbear/dropbear.inc
index 9ff7a24..4f95d72 100644
--- a/recipes/dropbear/dropbear.inc
+++ b/recipes/dropbear/dropbear.inc
@@ -8,7 +8,9 @@  RECIPE_TYPES = "native machine sdk"
 
 inherit autotools
 
-SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz"
+TARBALL_EXTENSION ?= "gz"
+
+SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.${TARBALL_EXTENSION}"
 SRC_URI += "file://fix-2kb-keys.patch file://init"
 
 RECIPE_FLAGS += "dropbear_allownopw"