Please do not use ftp:// as it is deprecated for oe-core recipes. We are trying to eliminate it entirely. (if no http is available, then git is actually preferred!)
Alex On Wed, 31 Jul 2019 at 11:34, Adrian Bunk <[email protected]> wrote: > Move from a git snapshot to a tarball release. > > Add zstd PACKAGECONFIG to disable the zstd support that upstream > enables by default, zstd is not in oe-core. > > Signed-off-by: Adrian Bunk <[email protected]> > --- > .../mtd/{mtd-utils_git.bb => mtd-utils_2.1.1.bb} | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > rename meta/recipes-devtools/mtd/{mtd-utils_git.bb => mtd-utils_2.1.1.bb} > (92%) > > diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb > b/meta/recipes-devtools/mtd/mtd-utils_2.1.1.bb > similarity index 92% > rename from meta/recipes-devtools/mtd/mtd-utils_git.bb > rename to meta/recipes-devtools/mtd/mtd-utils_2.1.1.bb > index 49a650a9ef..dc39ee6058 100644 > --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb > +++ b/meta/recipes-devtools/mtd/mtd-utils_2.1.1.bb > @@ -10,14 +10,11 @@ inherit autotools pkgconfig update-alternatives > DEPENDS = "zlib e2fsprogs util-linux" > RDEPENDS_mtd-utils-tests += "bash" > > -PV = "2.1.0+${SRCPV}" > - > -SRCREV = "b5027be5f470830ac9543db3c52e076b13abd313" > -SRC_URI = "git://git.infradead.org/mtd-utils.git \ > +SRC_URI = "ftp://ftp.infradead.org/pub/${BPN}/${BPN}-${PV}.tar.bz2 \ > file://add-exclusion-to-mkfs-jffs2-git-2.patch \ > " > - > -S = "${WORKDIR}/git/" > +SRC_URI[md5sum] = "94bbd31b217a5169ae26ab8c0442f691" > +SRC_URI[sha256sum] = > "8d15e8b70f036d6af1a66011f8ca0e048e9675fa7983d33bea92c24313a232d2" > > EXTRA_OECONF += "--enable-install-tests" > > @@ -30,6 +27,7 @@ PACKAGECONFIG[xattr] = "--with-xattr,--without-xattr,acl" > PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,openssl" > PACKAGECONFIG[jffs] = "--with-jffs,--without-jffs" > PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs" > +PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd" > > CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" > > -- > 2.17.1 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
