Skip to contentSkip to conversation

openssh_5.8p2.bb: Update SRC_URI checksums

PATCH In review Khem Raj 4 participants 9 messages Jun 10, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 openssh_5.8p2.bb: Update SRC_URI checksums

---
 meta/recipes-connectivity/openssh/openssh_5.8p2.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +2 -2
index 04d99d9..d5c9e49 100644
@@ -26,8 +26,8 @@ SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.
            file://ssh_config \
            file://init \
           "
-SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
-SRC_URI[sha256sum] = "5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"
+SRC_URI[md5sum] = "88a4a83b0e0e60cd545430d4e4bd7e0c"
+SRC_URI[sha256sum] = "e5a1c821dd8dc33a94c445290956d52e03b3c450f9cd448b96d92317fd4cce42"
 
 inherit autotools
 
Signature · 1 line
1.7.4.1
author
#1 lore raw

PATCH 2/2 sysklogd.inc: Check for package-management in IMAGE_FEATURES

ONLINE_PACKAGE_MANAGEMENT does not exist on oe-core

---
 meta/recipes-extended/sysklogd/sysklogd.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-extended/sysklogd/sysklogd.inc +1 -1
index f2b1c15..f6a56ec 100644
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
 # syslog initscript is handled explicitly because order of
 # update-rc.d and update-alternatives is important (see below)
 DEPENDS_append = " update-rc.d update-rc.d-native"
-RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
+RDEPENDS_${PN}_append = " ${@oe.utils.contains("IMAGE_FEATURES", "package-management", "update-rc.d", "", d)}"
 
 SRC_URI = "http://www.infodrom.org/projects/sysklogd/download/sysklogd-${PV}.tar.gz \
            file://no-strip-install.patch \
Signature · 1 line
1.7.4.1
#2 lore raw

Re: [PATCH 2/2] sysklogd.inc: Check for package-management in IMAGE_FEATURES

Op 10 jun 2011, om 02:57 heeft Khem Raj het volgende geschreven:

Quoted 15 lines

ONLINE_PACKAGE_MANAGEMENT does not exist on oe-core

---
meta/recipes-extended/sysklogd/sysklogd.inc | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-extended/sysklogd/sysklogd.inc +0 -0
index f2b1c15..f6a56ec 100644
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
 # syslog initscript is handled explicitly because order of
 # update-rc.d and update-alternatives is important (see below)

DEPENDS_append = " update-rc.d update-rc.d-native"

meta/recipes-extended/sysklogd/sysklogd.inc LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ · line 17

Quoted 2 lines
meta/recipes-extended/sysklogd/sysklogd.inc +1 -1
-RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
+RDEPENDS_${PN}_append = " ${@oe.utils.contains("IMAGE_FEATURES", "package-management", "update-rc.d", "", d)}"

You can't do IMAGE_FEATURES in RDEPENDS, consider what happens when I build 2 images, one with package-management and one without. Phils changes to catch update-rc.d usage in the image* classes should be enough to fix this.

regards,

Koen

#3 lore raw

Re: [PATCH 2/2] sysklogd.inc: Check for package-management in IMAGE_FEATURES

In reply to Khem Raj

meta/recipes-extended/sysklogd/sysklogd.inc LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ · line 17

Quoted 2 lines · Khem Raj
meta/recipes-extended/sysklogd/sysklogd.inc +1 -1
-RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
+RDEPENDS_${PN}_append = " ${@oe.utils.contains("IMAGE_FEATURES", "package-management", "update-rc.d", "", d)}"

This sort of thing shouldn't be necessary in oe-core. See previous discussions between me and Richard as to why IMAGE_FEATURES is not the right thing, and code in package_ipk.bbclass which ought to be taking care of it. If you're using a different package manager then it should be fairly straightforward to adapt that logic to suit.

You're right though the the reference to O_P_M is clearly wrong and should be removed. I'm not quite sure how that got in there in the first place; must have been some oversight during patch review I guess.

p.

#4 lore raw
In reply to Khem Raj
Quoted 10 lines · Khem Raj
---
  meta/recipes-connectivity/openssh/openssh_5.8p2.bb |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -0
index 04d99d9..d5c9e49 100644

meta/recipes-connectivity/openssh/openssh_5.8p2.bb SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar. · line 33

Quoted 10 lines
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +2 -2
@@ -26,8 +26,8 @@ SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.
             file://ssh_config \
             file://init \
            "
-SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
-SRC_URI[sha256sum] = "5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"
+SRC_URI[md5sum] = "88a4a83b0e0e60cd545430d4e4bd7e0c"
+SRC_URI[sha256sum] = "e5a1c821dd8dc33a94c445290956d52e03b3c450f9cd448b96d92317fd4cce42"
 
  inherit autotools
 

This is strange, since we are building in other places with this, please confirm you have a good tarball, vs what's in the upstream and on the autobuilder.yoctoproject.org downloads area.

Thanks
Sau!

author
#5 lore raw
Quoted 23 lines · Saul Wold
Quoted 22 lines · Khem Raj

---
meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -0
index 04d99d9..d5c9e49 100644
@@ -26,8 +26,8 @@ SRC_URI =

"ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar. file://ssh_config \
file://init \
"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -2
-SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
-SRC_URI[sha256sum] =

"5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +2 -0
+SRC_URI[md5sum] = "88a4a83b0e0e60cd545430d4e4bd7e0c"
+SRC_URI[sha256sum] =

"e5a1c821dd8dc33a94c445290956d52e03b3c450f9cd448b96d92317fd4cce42"

Quoted 6 lines
Quoted 2 lines

inherit autotools

This is strange, since we are building in other places with this, please confirm you have a good tarball, vs what's in the upstream and on the autobuilder.yoctoproject.org downloads area.

have you tried

bitbake -ccleanall openssh;bitbake openssh ?

Quoted 2 lines

Thanks
Sau!

#6 lore raw
Quoted 31 lines · Khem Raj
Quoted 23 lines · Saul Wold
Quoted 22 lines · Khem Raj

---
meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -0
index 04d99d9..d5c9e49 100644
@@ -26,8 +26,8 @@ SRC_URI =

"ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar. file://ssh_config \
file://init \
"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -2
-SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
-SRC_URI[sha256sum] =

"5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +2 -0
+SRC_URI[md5sum] = "88a4a83b0e0e60cd545430d4e4bd7e0c"
+SRC_URI[sha256sum] =

"e5a1c821dd8dc33a94c445290956d52e03b3c450f9cd448b96d92317fd4cce42"

Quoted 6 lines
Quoted 2 lines

inherit autotools

This is strange, since we are building in other places with this, please confirm you have a good tarball, vs what's in the upstream and on the autobuilder.yoctoproject.org downloads area.

Quoted 4 lines

have you tried

bitbake -ccleanall openssh;bitbake openssh ?

Yes, twice with out MIRROR and PREMIRROR set, same result no checksum errors.

Sau!

Quoted 4 lines
Quoted 2 lines

Thanks
Sau!

author
#7 lore raw
Quoted 32 lines · Saul Wold
Quoted 31 lines · Khem Raj
Quoted 29 lines · Saul Wold
Quoted 22 lines · Khem Raj

---
meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -0
index 04d99d9..d5c9e49 100644
@@ -26,8 +26,8 @@ SRC_URI =

"ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar. file://ssh_config \
file://init \
"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -2
-SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
-SRC_URI[sha256sum] =

"5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +2 -0
+SRC_URI[md5sum] = "88a4a83b0e0e60cd545430d4e4bd7e0c"
+SRC_URI[sha256sum] =

"e5a1c821dd8dc33a94c445290956d52e03b3c450f9cd448b96d92317fd4cce42"

Quoted 2 lines

inherit autotools

This is strange, since we are building in other places with this, please confirm you have a good tarball, vs what's in the upstream and on the autobuilder.yoctoproject.org downloads area.

Quoted 7 lines
Quoted 4 lines

have you tried

bitbake -ccleanall openssh;bitbake openssh ?

Yes, twice with out MIRROR and PREMIRROR set, same result no checksum errors.

OK I think I know whats going on. In my case its getting it from slugos source mirror which is not same size as the one from ftp.openbsd.org probably the mirror needs update

So drop it.

Quoted 6 lines

Sau!

Quoted 4 lines
Quoted 2 lines

Thanks
Sau!

#8 lore raw
Quoted 42 lines · Khem Raj
Quoted 33 lines · Saul Wold
Quoted 32 lines · Khem Raj
Quoted 30 lines · Saul Wold
Quoted 22 lines · Khem Raj

---
meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -0
index 04d99d9..d5c9e49 100644
@@ -26,8 +26,8 @@ SRC_URI =

"ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar. file://ssh_config \
file://init \
"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +0 -2
-SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
-SRC_URI[sha256sum] =

"5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"

meta/recipes-connectivity/openssh/openssh_5.8p2.bb +2 -0
+SRC_URI[md5sum] = "88a4a83b0e0e60cd545430d4e4bd7e0c"
+SRC_URI[sha256sum] =

"e5a1c821dd8dc33a94c445290956d52e03b3c450f9cd448b96d92317fd4cce42"

Quoted 2 lines

inherit autotools

This is strange, since we are building in other places with this, please
confirm you have a good tarball, vs what's in the upstream and on the autobuilder.yoctoproject.org downloads area.

Quoted 7 lines
Quoted 4 lines

have you tried

bitbake -ccleanall openssh;bitbake openssh ?

Yes, twice with out MIRROR and PREMIRROR set, same result no checksum errors.

Quoted 5 lines

OK I think I know whats going on. In my case its getting it from slugos source mirror which is not same size as the one from ftp.openbsd.org probably the mirror needs update

So drop it.

Consider it dropped!

Sau!

Quoted 8 lines
Quoted 6 lines

Sau!

Quoted 4 lines
Quoted 2 lines

Thanks
Sau!