Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] mtd-utils: Upgrade to 2.1.1
@ 2019-07-31  9:33 Adrian Bunk
  2019-07-31 10:17 ` Alexander Kanavin
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2019-07-31  9:33 UTC (permalink / raw)
  To: openembedded-core

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 <bunk@stusta.de>
---
 .../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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd-utils: Upgrade to 2.1.1
  2019-07-31  9:33 [PATCH] mtd-utils: Upgrade to 2.1.1 Adrian Bunk
@ 2019-07-31 10:17 ` Alexander Kanavin
  2019-07-31 10:35   ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2019-07-31 10:17 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 2365 bytes --]

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 <bunk@stusta.de> 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 <bunk@stusta.de>
> ---
>  .../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
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 4139 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd-utils: Upgrade to 2.1.1
  2019-07-31 10:17 ` Alexander Kanavin
@ 2019-07-31 10:35   ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2019-07-31 10:35 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

On Wed, Jul 31, 2019 at 12:17:35PM +0200, Alexander Kanavin wrote:
> 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!)

OK, v2 sent.

> Alex

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-31 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-31  9:33 [PATCH] mtd-utils: Upgrade to 2.1.1 Adrian Bunk
2019-07-31 10:17 ` Alexander Kanavin
2019-07-31 10:35   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox