public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Anuj Mittal" <anuj.mittal@intel.com>
To: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>,
	"liu.ming50@gmail.com" <liu.ming50@gmail.com>
Cc: "sergio.prado@toradex.com" <sergio.prado@toradex.com>,
	"richard.purdie@linuxfoundation.org"
	<richard.purdie@linuxfoundation.org>,
	"stefan.agner@toradex.com" <stefan.agner@toradex.com>,
	"max.krummenacher@toradex.com" <max.krummenacher@toradex.com>
Subject: Re: [OE-core] [PATCH] [dunfell 3/3] libubootenv: uprev to v0.3
Date: Mon, 24 Aug 2020 00:03:16 +0000	[thread overview]
Message-ID: <ad755709393c57c583a79c8b9d2308f2f2c3fafa.camel@intel.com> (raw)
In-Reply-To: <20200822152207.32161-4-liu.ming50@gmail.com>

On Sat, 2020-08-22 at 17:22 +0200, Ming Liu wrote:
> From: Ming Liu <liu.ming50@gmail.com>
> 
> Update libubootenv to the latest 0.3 release, which comprises the
> following commits:
> 
> ```
> 1efed83 Increase max length for device name
> 6f4fc1c uboot_env: Use canonicalized pathname when reading device
> 23b3086 Fix bug introduced by commit 52a70114
> ed1a53e Dont store to device if no value changes
> 4a0a466 Merge pull request #7 from TomzBench/cmake-fix
> 6117831 Added Coverity badge
> 49372a1 Fix coverity #293496
> 69a6819 Fix coverity #293503 and #293507
> 258bf52 Fix coverity #293501
> aa52e61 Fix coverity #293505
> 52a7011 Fix coverity #293504 and #293506
> e822218 Fix coverity #293495 and #293497
> 23b305f Fix coverity #293499
> 25ef1f6 Add coverity setup for Travis
> 41b5188 fixed install for static target, fixed BUILD_DOC
> acknowledgement
> 86bd30a Restore ability to feed script file via stdin, using `-s -`.
> c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP
> f4b9cde Allow negative offsets
> 45bf92a Detect sector size if not found in config
> 9f59db6 uboot_env: remove unused variables
> 65d243e README: libubootenv is now in oe-core
> ba952d0 BUG: variable lists not released in close()
> 690f868 Variables are not removed when loading from file
> 9e3586a Make sure there's no file descriptor leakage in case of error
> 03647c4 Check config file defines a non-zero Sector size
> 3b2d4f1 Check environment size from fw_env.config
> 879c073 Do not hardcode path for install
> d9c639b libubootenv: add pkg-config support
> cc628ee libuboot: wrap libuboot in extern "C" for C++
> ```
> 
> Also add u-boot-default-env to RRECOMMENDS since
> /etc/u-boot-initial-env is being referred in libubootenv source, and
> turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since
> u-boot-default-env is a machine-arch package.
> 
> Signed-off-by: Ming Liu <liu.ming50@gmail.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> (cherry picked from commit 02d55cd35aac15095fc44f0cf8f9e7a71638f485)
> ---
>  .../u-boot/{libubootenv_0.2.bb => libubootenv_0.3.bb}      | 7
> +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>  rename meta/recipes-bsp/u-boot/{libubootenv_0.2.bb =>
> libubootenv_0.3.bb} (82%)
> 
> diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
> b/meta/recipes-bsp/u-boot/libubootenv_0.3.bb
> similarity index 82%
> rename from meta/recipes-bsp/u-boot/libubootenv_0.2.bb
> rename to meta/recipes-bsp/u-boot/libubootenv_0.3.bb
> index ea29b668e8..47e64f9114 100644
> --- a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
> +++ b/meta/recipes-bsp/u-boot/libubootenv_0.3.bb
> @@ -10,9 +10,8 @@ LICENSE = "LGPL-2.1"
>  LIC_FILES_CHKSUM = "file://Licenses/lgpl-
> 2.1.txt;md5=4fbd65380cdd255951079008b364516c"
>  SECTION = "libs"
>  
> -PV = "0.2+git${SRCPV}"
>  SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https"
> -SRCREV = "f4b9cde3815abe84a98079cedd515283ea08c16b"
> +SRCREV = "ad253cfdb07c8492f2ee46a52fbc607ad0b96414"
>  
>  S = "${WORKDIR}/git"
>  
> @@ -24,4 +23,8 @@ DEPENDS = "zlib"
>  PROVIDES += "u-boot-fw-utils"
>  RPROVIDES_${PN}-bin += "u-boot-fw-utils"
>  
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +RRECOMMENDS_${PN}-bin_append_class-target = " u-boot-default-env"
> +

This causes world builds to fail when uboot build is skipped for a
MACHINE value for example when UBOOT_CONFIG or UBOOT_MACHINE is not
defined. Perhaps this recipe should also be skipped in those cases?

Thanks,

Anuj

  reply	other threads:[~2020-08-24  0:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-22 15:22 [OE-core] [PATCH] [dunfell 0/3] libubootenv: uprev to v0.3 Ming Liu
2020-08-22 15:22 ` [OE-core] [PATCH] [dunfell 1/3] conf/machine: set UBOOT_MACHINE for qemumips and qemumips64 Ming Liu
2020-08-22 15:22 ` [OE-core] [PATCH] [dunfell 2/3] multilib.conf: add u-boot to NON_MULTILIB_RECIPES Ming Liu
2020-08-22 15:22 ` [OE-core] [PATCH] [dunfell 3/3] libubootenv: uprev to v0.3 Ming Liu
2020-08-24  0:03   ` Anuj Mittal [this message]
2020-08-24  6:56     ` Ming Liu
2020-08-25 14:16       ` Steve Sakoman

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=ad755709393c57c583a79c8b9d2308f2f2c3fafa.camel@intel.com \
    --to=anuj.mittal@intel.com \
    --cc=liu.ming50@gmail.com \
    --cc=max.krummenacher@toradex.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=sergio.prado@toradex.com \
    --cc=stefan.agner@toradex.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox