Skip to contentSkip to conversation

openwsman: modified SRC_URI to git

PATCH In review Lei Maohui 2 participants 2 messages Aug 21, 2015

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 openwsman: modified SRC_URI to git

not use github archives anymore, they are regenerated from time to time with different checksums.

---
 meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb +5 -3
index 67cd618..0c6543d 100644
@@ -12,12 +12,14 @@ SECTION = "Applications/System"
 
 DEPENDS = "curl libxml2 openssl libpam"
 
-SRC_URI = "https://github.com/Openwsman/openwsman/archive/v${PV}.tar.gz \
+SRCREV = "f523bf1390c7ea23946bb9159978a4d7c198f1ba"
+PV = "2.6.0"
+
+SRC_URI = "git://github.com/Openwsman/openwsman.git \
            file://libssl-is-required-if-eventint-supported.patch \
            file://openwsmand.service"
 
-SRC_URI[md5sum] = "824834a86040b98b03f3fc0f7f62e853"
-SRC_URI[sha256sum] = "449b4972dc7700918f8f674047f0a1a9c19eeee3f4ce82f47890dddfa56e823f"
+S = "${WORKDIR}/git"
 
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d4f53d4c6cf73b9d43186ce3be6dd0ba"
Signature · 1 line
1.8.4.2
#1 lore raw

meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb SECTION = "Applications/System" · line 17

Quoted 4 lines · Lei Maohui
meta-oe/recipes-extended/openwsman/openwsman_2.6.0.bb +3 -1
-SRC_URI = "https://github.com/Openwsman/openwsman/archive/v${PV}.tar.gz \
+SRCREV = "f523bf1390c7ea23946bb9159978a4d7c198f1ba"
+PV = "2.6.0"
+

why redefine PV to same value otherwise computed by bitbake?