On Fri, Jun 12, 2020 at 03:08:09PM -0300, Otavio Salvador wrote: > 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. > > Backport fix from 2.1.2 > > Signed-off-by: Otavio Salvador <ota...@ossystems.com.br> > --- > > ...-utils-Fix-return-value-of-ubiformat.patch | 62 +++++++++++++++++++ > meta/recipes-devtools/mtd/mtd-utils_git.bb | 1 + > 2 files changed, 63 insertions(+) > create 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_git.bb > b/meta/recipes-devtools/mtd/mtd-utils_git.bb > index 810fe40f4e..a13240d61c 100644 > --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb > +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb > @@ -15,6 +15,7 @@ PV = "2.1.1" > SRCREV = "4443221ce9b88440cd9f5bb78e6fe95621d36c8a" > SRC_URI = "git://git.infradead.org/mtd-utils.git \ > file://add-exclusion-to-mkfs-jffs2-git-2.patch \ > + file://mtd-utils-Fix-return-value-of-ubiformat.patch \ ^^^ Was it tested? The patch name doesn't seem to match the file name. -- Denys
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#139463): https://lists.openembedded.org/g/openembedded-core/message/139463 Mute This Topic: https://lists.openembedded.org/mt/74844610/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-