From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 05/20] mtd-utils: upgrade 2.1.1 -> 2.1.2
Date: Thu, 16 Jul 2020 22:07:53 +0100 [thread overview]
Message-ID: <20200716210808.7438-5-richard.purdie@linuxfoundation.org> (raw)
In-Reply-To: <20200716210808.7438-1-richard.purdie@linuxfoundation.org>
Drop backported patch.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
...-utils-Fix-return-value-of-ubiformat.patch | 62 -------------------
meta/recipes-devtools/mtd/mtd-utils_git.bb | 7 +--
2 files changed, 3 insertions(+), 66 deletions(-)
delete mode 100644 meta/recipes-devtools/mtd/mtd-utils/0001-mtd-utils-Fix-return-value-of-ubiformat.patch
diff --git a/meta/recipes-devtools/mtd/mtd-utils/0001-mtd-utils-Fix-return-value-of-ubiformat.patch b/meta/recipes-devtools/mtd/mtd-utils/0001-mtd-utils-Fix-return-value-of-ubiformat.patch
deleted file mode 100644
index d43f7e1a7a0..00000000000
--- a/meta/recipes-devtools/mtd/mtd-utils/0001-mtd-utils-Fix-return-value-of-ubiformat.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 4d19bffcfd66e25d3ee74536ae2d2da7ad52e8e2 Mon Sep 17 00:00:00 2001
-From: Barry Grussling <barry@grussling.com>
-Date: Sun, 12 Jan 2020 12:33:32 -0800
-Subject: [PATCH] mtd-utils: Fix return value of ubiformat
-Organization: O.S. Systems Software LTDA.
-
-This changeset fixes a feature regression in ubiformat. Older versions of
-ubiformat, when invoked with a flash-image, would return 0 in the case no error
-was encountered. Upon upgrading to latest, it was discovered that ubiformat
-returned 255 even without encountering an error condition.
-
-This changeset corrects the above issue and causes ubiformat, when given an
-image file, to return 0 when no errors are detected.
-
-Tested by running through my loading scripts and verifying ubiformat returned
-0.
-
-Upstream-Status: Backport [2.1.2]
-
-Signed-off-by: Barry Grussling <barry@grussling.com>
-Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
----
- ubi-utils/ubiformat.c | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/ubi-utils/ubiformat.c b/ubi-utils/ubiformat.c
-index a90627c..5377b12 100644
---- a/ubi-utils/ubiformat.c
-+++ b/ubi-utils/ubiformat.c
-@@ -550,6 +550,7 @@ static int format(libmtd_t libmtd, const struct mtd_dev_info *mtd,
- struct ubi_vtbl_record *vtbl;
- int eb1 = -1, eb2 = -1;
- long long ec1 = -1, ec2 = -1;
-+ int ret = -1;
-
- write_size = UBI_EC_HDR_SIZE + mtd->subpage_size - 1;
- write_size /= mtd->subpage_size;
-@@ -643,8 +644,10 @@ static int format(libmtd_t libmtd, const struct mtd_dev_info *mtd,
- if (!args.quiet && !args.verbose)
- printf("\n");
-
-- if (novtbl)
-+ if (novtbl) {
-+ ret = 0;
- goto out_free;
-+ }
-
- if (eb1 == -1 || eb2 == -1) {
- errmsg("no eraseblocks for volume table");
-@@ -669,7 +672,7 @@ static int format(libmtd_t libmtd, const struct mtd_dev_info *mtd,
-
- out_free:
- free(hdr);
-- return -1;
-+ return ret;
- }
-
- int main(int argc, char * const argv[])
---
-2.27.0
-
diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb
index d1658a739b4..91814134275 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb
@@ -10,13 +10,12 @@ inherit autotools pkgconfig update-alternatives
DEPENDS = "zlib e2fsprogs util-linux"
RDEPENDS_mtd-utils-tests += "bash"
-PV = "2.1.1"
+PV = "2.1.2"
-SRCREV = "4443221ce9b88440cd9f5bb78e6fe95621d36c8a"
+SRCREV = "7b986779342021bda87c04da3bf729718736d8ab"
SRC_URI = "git://git.infradead.org/mtd-utils.git \
file://add-exclusion-to-mkfs-jffs2-git-2.patch \
- file://0001-mtd-utils-Fix-return-value-of-ubiformat.patch \
-"
+ "
S = "${WORKDIR}/git/"
--
2.25.1
next prev parent reply other threads:[~2020-07-16 21:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-16 21:07 [PATCH 01/20] libuv: upgrade 1.38.0 -> 1.38.1 Richard Purdie
2020-07-16 21:07 ` [PATCH 02/20] btrfs-tools: upgrade 5.6.1 -> 5.7 Richard Purdie
2020-07-16 21:07 ` [PATCH 03/20] init-system-helpers: upgrade 1.57 -> 1.58 Richard Purdie
2020-07-16 21:07 ` [PATCH 04/20] createrepo-c: upgrade 0.15.11 -> 0.16.0 Richard Purdie
2020-07-16 21:07 ` Richard Purdie [this message]
2020-07-16 21:07 ` [PATCH 06/20] dpkg: upgrade 1.20.0 -> 1.20.5 Richard Purdie
2020-07-16 21:07 ` [PATCH 07/20] python3-cython: upgrade 0.29.20 -> 0.29.21 Richard Purdie
2020-07-16 21:07 ` [PATCH 08/20] python3-git: upgrade 3.1.3 -> 3.1.7 Richard Purdie
2020-07-16 21:07 ` [PATCH 09/20] asciidoc: upgrade 9.0.0 -> 9.0.1 Richard Purdie
2020-07-16 21:07 ` [PATCH 10/20] libnsl2: upgrade 1.2.0 -> 1.3.0 Richard Purdie
2020-07-16 21:07 ` [PATCH 11/20] rpcsvc-proto: upgrade 1.4.1 -> 1.4.2 Richard Purdie
2020-07-16 21:08 ` [PATCH 12/20] stress-ng: upgrade 0.11.14 -> 0.11.15 Richard Purdie
2020-07-16 21:08 ` [PATCH 13/20] epiphany: upgrade 3.36.2 -> 3.36.3 Richard Purdie
2020-07-16 21:08 ` [PATCH 14/20] ffmpeg: upgrade 4.3 -> 4.3.1 Richard Purdie
2020-07-16 21:08 ` [PATCH 15/20] gnupg: upgrade 2.2.20 -> 2.2.21 Richard Purdie
2020-07-16 21:08 ` [PATCH 16/20] mpg123: upgrade 1.26.1 -> 1.26.2 Richard Purdie
2020-07-16 21:08 ` [PATCH 17/20] libevent: upgrade 2.1.11 -> 2.1.12 Richard Purdie
2020-07-16 21:08 ` [PATCH 18/20] webkitgtk: upgrade 2.28.2 -> 2.28.3 Richard Purdie
2020-07-16 21:08 ` [PATCH 19/20] libgcrypt: upgrade 1.8.5 -> 1.8.6 Richard Purdie
2020-07-16 21:08 ` [PATCH 20/20] mpfr: upgrade 4.0.2 -> 4.1.0 Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200716210808.7438-5-richard.purdie@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.