mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
opkg 0.1.8: do_fetch failed since no checksum specified
* We use meta/recipes-devtools/opkg/opkg_svn.bb by default, the opkg_0.1.8.bb failed since no checksum specified. * The add_vercmp.patch in both opkg/ and opkg-0.1.8/, remove the one in opkg-0.1.8/ This patch doesn't impact the output, so I think that we don't have to increment the PR. [YOCTO #2498] (From OE-Core rev: 316fac638646a50149f36ec4687b5a2a6d2e83b1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
de4bd3767c
commit
2fa65dd42c
@@ -1,36 +0,0 @@
|
|||||||
Upstream-Status: Inappropriate [other]
|
|
||||||
|
|
||||||
Index: trunk/libopkg/opkg.c
|
|
||||||
===================================================================
|
|
||||||
--- trunk.orig/libopkg/opkg.c 2010-01-26 20:32:19.000000000 +0000
|
|
||||||
+++ trunk/libopkg/opkg.c 2010-01-26 20:40:34.000000000 +0000
|
|
||||||
@@ -876,3 +876,18 @@
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+int
|
|
||||||
+opkg_compare_versions (const char *ver1, const char *ver2)
|
|
||||||
+{
|
|
||||||
+ pkg_t *pkg1, *pkg2;
|
|
||||||
+
|
|
||||||
+ pkg1 = pkg_new();
|
|
||||||
+ pkg2 = pkg_new();
|
|
||||||
+
|
|
||||||
+ parse_version(pkg1, ver1);
|
|
||||||
+ parse_version(pkg2, ver2);
|
|
||||||
+
|
|
||||||
+ return pkg_compare_versions(pkg1, pkg2);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
Index: trunk/libopkg/opkg.h
|
|
||||||
===================================================================
|
|
||||||
--- trunk.orig/libopkg/opkg.h 2010-01-26 20:32:19.000000000 +0000
|
|
||||||
+++ trunk/libopkg/opkg.h 2010-01-26 20:35:19.000000000 +0000
|
|
||||||
@@ -58,4 +58,6 @@
|
|
||||||
|
|
||||||
int opkg_repository_accessibility_check(void);
|
|
||||||
|
|
||||||
+int opkg_compare_versions (const char *ver1, const char *ver2);
|
|
||||||
+
|
|
||||||
#endif /* OPKG_H */
|
|
||||||
@@ -5,4 +5,7 @@ SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
|
|||||||
file://headerfix.patch \
|
file://headerfix.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
|
||||||
|
SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
|
||||||
|
|
||||||
PR = "${INC_PR}.0"
|
PR = "${INC_PR}.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user