diff mbox series

[meta-swupdate] Backport libubootenv 0.3.5

Message ID 20231224205634.8310-1-stefano.babic@swupdate.org
State Accepted
Headers show
Series [meta-swupdate] Backport libubootenv 0.3.5 | expand

Commit Message

Stefano Babic Dec. 24, 2023, 8:56 p.m. UTC
SWUpdate 2023.12 requires libubootenv 0.3.5. To support last version of
SWUpdate, libubootenv must be ported to the releases with older version
of the library.

Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
Reported-by: Ayoub Zaki <ayoub.zaki@embexus.com>
---
 recipes-bsp/u-boot/libubootenv_0.3.5.bb | 26 +++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 recipes-bsp/u-boot/libubootenv_0.3.5.bb

Comments

ayoub...@googlemail.com Dec. 26, 2023, 11:27 a.m. UTC | #1
Hi Stefano,

Thanks for the patch, can you please push it ?

Best

On Monday, December 25, 2023 at 3:56:42 AM UTC+7 Stefano Babic wrote:

> SWUpdate 2023.12 requires libubootenv 0.3.5. To support last version of
> SWUpdate, libubootenv must be ported to the releases with older version
> of the library.
>
> Signed-off-by: Stefano Babic <stefan...@swupdate.org>
> Reported-by: Ayoub Zaki <ayoub...@embexus.com>
> ---
> recipes-bsp/u-boot/libubootenv_0.3.5.bb | 26 +++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 recipes-bsp/u-boot/libubootenv_0.3.5.bb
>
> diff --git a/recipes-bsp/u-boot/libubootenv_0.3.5.bb b/recipes-bsp/u-boot/
> libubootenv_0.3.5.bb
> new file mode 100644
> index 0000000..b68bbb4
> --- /dev/null
> +++ b/recipes-bsp/u-boot/libubootenv_0.3.5.bb
> @@ -0,0 +1,26 @@
> +SUMMARY = "U-Boot libraries and tools to access environment"
> +
> +DESCRIPTION = "This package contains tools and libraries to read \
> +and modify U-Boot environment. \
> +It provides a hardware-independent replacement for fw_printenv/setenv 
> utilities \
> +provided by U-Boot"
> +
> +HOMEPAGE = "https://github.com/sbabic/libubootenv"
> +LICENSE = "LGPL-2.1-or-later"
> +LIC_FILES_CHKSUM = 
> "file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c"
> +SECTION = "libs"
> +
> +SRC_URI = "git://
> github.com/sbabic/libubootenv;protocol=https;branch=master"
> +SRCREV = "3f4d15e36ceb58085b08dd13f3f2788e9299877b"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake lib_package
> +
> +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
> +
> +DEPENDS = "zlib libyaml"
> +PROVIDES += "u-boot-fw-utils"
> +RPROVIDES:${PN}-bin += "u-boot-fw-utils"
> +
> +BBCLASSEXTEND = "native"
> -- 
> 2.34.1
>
>
Stefano Babic Dec. 26, 2023, 2:28 p.m. UTC | #2
On 26.12.23 12:27, 'ayoub...@googlemail.com' via swupdate wrote:
> Hi Stefano,
> 
> Thanks for the patch, can you please push it ?

Done

Stefano

> 
> Best
> 
> On Monday, December 25, 2023 at 3:56:42 AM UTC+7 Stefano Babic wrote:
> 
>     SWUpdate 2023.12 requires libubootenv 0.3.5. To support last version of
>     SWUpdate, libubootenv must be ported to the releases with older version
>     of the library.
> 
>     Signed-off-by: Stefano Babic <stefan...@swupdate.org>
>     Reported-by: Ayoub Zaki <ayoub...@embexus.com>
>     ---
>     recipes-bsp/u-boot/libubootenv_0.3.5.bb
>     <http://libubootenv_0.3.5.bb> | 26 +++++++++++++++++++++++++
>     1 file changed, 26 insertions(+)
>     create mode 100644 recipes-bsp/u-boot/libubootenv_0.3.5.bb
>     <http://libubootenv_0.3.5.bb>
> 
>     diff --git a/recipes-bsp/u-boot/libubootenv_0.3.5.bb
>     <http://libubootenv_0.3.5.bb>
>     b/recipes-bsp/u-boot/libubootenv_0.3.5.bb <http://libubootenv_0.3.5.bb>
>     new file mode 100644
>     index 0000000..b68bbb4
>     --- /dev/null
>     +++ b/recipes-bsp/u-boot/libubootenv_0.3.5.bb
>     <http://libubootenv_0.3.5.bb>
>     @@ -0,0 +1,26 @@
>     +SUMMARY = "U-Boot libraries and tools to access environment"
>     +
>     +DESCRIPTION = "This package contains tools and libraries to read \
>     +and modify U-Boot environment. \
>     +It provides a hardware-independent replacement for
>     fw_printenv/setenv utilities \
>     +provided by U-Boot"
>     +
>     +HOMEPAGE = "https://github.com/sbabic/libubootenv
>     <https://github.com/sbabic/libubootenv>"
>     +LICENSE = "LGPL-2.1-or-later"
>     +LIC_FILES_CHKSUM =
>     "file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c"
>     +SECTION = "libs"
>     +
>     +SRC_URI =
>     "git://github.com/sbabic/libubootenv;protocol=https;branch=master
>     <http://github.com/sbabic/libubootenv;protocol=https;branch=master>"
>     +SRCREV = "3f4d15e36ceb58085b08dd13f3f2788e9299877b"
>     +
>     +S = "${WORKDIR}/git"
>     +
>     +inherit cmake lib_package
>     +
>     +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
>     +
>     +DEPENDS = "zlib libyaml"
>     +PROVIDES += "u-boot-fw-utils"
>     +RPROVIDES:${PN}-bin += "u-boot-fw-utils"
>     +
>     +BBCLASSEXTEND = "native"
>     -- 
>     2.34.1
> 
> -- 
> You received this message because you are subscribed to the Google 
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to swupdate+unsubscribe@googlegroups.com 
> <mailto:swupdate+unsubscribe@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/swupdate/c9a38433-20bf-4f73-ba5d-3e23f382fd92n%40googlegroups.com <https://groups.google.com/d/msgid/swupdate/c9a38433-20bf-4f73-ba5d-3e23f382fd92n%40googlegroups.com?utm_medium=email&utm_source=footer>.
diff mbox series

Patch

diff --git a/recipes-bsp/u-boot/libubootenv_0.3.5.bb b/recipes-bsp/u-boot/libubootenv_0.3.5.bb
new file mode 100644
index 0000000..b68bbb4
--- /dev/null
+++ b/recipes-bsp/u-boot/libubootenv_0.3.5.bb
@@ -0,0 +1,26 @@ 
+SUMMARY = "U-Boot libraries and tools to access environment"
+
+DESCRIPTION = "This package contains tools and libraries to read \
+and modify U-Boot environment. \
+It provides a hardware-independent replacement for fw_printenv/setenv utilities \
+provided by U-Boot"
+
+HOMEPAGE = "https://github.com/sbabic/libubootenv"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c"
+SECTION = "libs"
+
+SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https;branch=master"
+SRCREV = "3f4d15e36ceb58085b08dd13f3f2788e9299877b"
+
+S = "${WORKDIR}/git"
+
+inherit cmake lib_package
+
+EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
+
+DEPENDS = "zlib libyaml"
+PROVIDES += "u-boot-fw-utils"
+RPROVIDES:${PN}-bin += "u-boot-fw-utils"
+
+BBCLASSEXTEND = "native"