cherry-picks from master branch
v2 cover cherry-picks from master branch
Trying to keep recipes in the walnascar branch updated with useful fixes from the master branch.
I intend to submit patch series for each sub-folder, this series is for the recipes inside "meta-oe/recipes-bsp".
I have tried to carefully review the change logs and commit logs while updating recipe versions.
Did basic validation by building against qemux86-64 and qemuarm64 machine targets.
---
changes in v2:
- Dropped following patches
- flashrom: upgrade 1.5.1 -> 1.6.0
- fwupd: update to 2.0.12
- ledmon: upgrade 0.97 -> 1.1.0
Changqing Li (1):
lsscsi: upgrade to version 0.32
Mikko Rapeli (1):
fwupd-efi: update from 1.6 to 1.7
Wang Mingyu (1):
bolt: upgrade 0.9.6 -> 0.9.10
.../bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
..._binary.py-Use-env-to-detect-python3.patch | 23 -------------------
.../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 ++--
.../lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 +++--
4 files changed, 7 insertions(+), 29 deletions(-)
rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%)
delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%)
rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)PATCH v2 1/3 bolt: upgrade 0.9.6 -> 0.9.10
From: Wang Mingyu <[email protected]>
Changelog:
============
- Fix bolt exits when opening an empty version file
- Fix failure on integration test due to the change of the latest pygobject
- Several CI improvements and fixes.
- Fixed memory leak in boltctl
- The unused codes were removed from daemon
- Fixed a NULL syspath variable causes SIGSEGV
- A new NHI for REMBRANDT.
- CI fixes.
- Don't install an empty DB directory.
- Fixed: Determine the string length before writing file.
- Fixed: Free on error to prevent resource leak.
- Add a 'nopcie' security level since some devices report 'nopcie' when Thunderbolt is disabled through BIOS setting.
- Markdown lint styling is used for documents.
---
meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%)meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb renamed from meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb +1 -1
@@ -8,7 +8,7 @@ DEPENDS = "udev polkit dbus" REQUIRED_DISTRO_FEATURES = "polkit" SRC_URI = "git://gitlab.freedesktop.org/bolt/bolt.git;protocol=https;branch=master" -SRCREV = "f03c50b22ae3fda26711ddabd91e2c5dd8103478" +SRCREV = "c0d4cb2f4399e86417907a37c0d8ef3bb9fb406f" S = "${WORKDIR}/git"
PATCH v2 2/3 fwupd-efi: update from 1.6 to 1.7
In reply to Ankur TyagiFrom: Mikko Rapeli <[email protected]>
Remove upstreamed patch.
https://github.com/fwupd/fwupd-efi/releases/tag/1.7
This release fixes the following bugs:
Fix compilation with GNU-EFI 4.0
---
..._binary.py-Use-env-to-detect-python3.patch | 23 -------------------
.../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 ++--
2 files changed, 2 insertions(+), 26 deletions(-)
delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%)meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch deleted +0 -23
@@ -1,23 +0,0 @@ -From 4c8f95fedecbc590eb7cd98aaf97912fa36b8f2e Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 7 Jun 2024 23:58:36 -0700 -Subject: [PATCH] efi/generate_binary.py: Use env to detect python3 - -This enables python3 from native sysroot correctly - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- - efi/generate_binary.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/efi/generate_binary.py b/efi/generate_binary.py -index 443472a..a4611bb 100755 ---- a/efi/generate_binary.py -+++ b/efi/generate_binary.py -@@ -1,4 +1,4 @@ --#!/usr/bin/python3 -+#!/usr/bin/env python3 - # - # Copyright (C) 2021 Javier Martinez Canillas <[email protected]> - # Copyright (C) 2021 Richard Hughes <[email protected]>
meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb renamed from meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb +2 -3
@@ -2,10 +2,9 @@ SUMMARY = "EFI executable for fwupd" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \ - file://0001-efi-generate_binary.py-Use-env-to-detect-python3.patch" +SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main" -SRCREV = "58a2928f778278ab1f7f8fcddbab81ba587a8962" +SRCREV = "cfd0be286a9b050c1aa4bfa3f0820256903a264a" S = "${WORKDIR}/git" DEPENDS = "gnu-efi python3-pefile-native"
PATCH v2 3/3 lsscsi: upgrade to version 0.32
In reply to Ankur TyagiFrom: Changqing Li <[email protected]>
Upstream changelogs:
https://sg.danny.cz/scsi/lsscsi.ChangeLog
Changes in this commit are referenced from 51e410a84eaa9742ea8881435925a242fb5529cd.
---
.../recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb renamed from meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb +4 -2
@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz" -SRC_URI[sha256sum] = "619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15" +SRC_URI[sha256sum] = "0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1" inherit autotools -S = "${WORKDIR}/lsscsi-${PV}r154" +S = "${WORKDIR}/lsscsi-${PV}" + +UPSTREAM_CHECK_REGEX = "lsscsi-(?P<pver>\d+(\.\d+)+)\.tgz"
Re: [oe][meta-oe][walnascar][PATCH v2 3/3] lsscsi: upgrade to version 0.32
I dunno. This recipe is a bit of a mess, at least regarding the application's versioning habits and the recipe's history due to this.
The changelog definitely looks suitable enough. And interestingly Kirkstone has a newer version - which has been reverted later in master (which revert was later reverted once again, to have the latest version), and that old version got into Walnascar.
But here is the real problem: this version goes backwards[1] (at least as far as Bitbake is concerned) - and I have seen people being unhappy about this. I wonder if maybe in master it would be better to give this recipe a PE...
[1]:
https://gist.github.com/OldManYellsAtCloud/f3e26c13bd68118f8e586803e9b3a8d4
- this was copied from buildhistory.bbclass and from bb.utils module
Quoted 44 lines · Ankur Tyagi via lists.openembedded.org
From: Changqing Li <[email protected]>
Upstream changelogs:
https://sg.danny.cz/scsi/lsscsi.ChangeLogChanges in this commit are referenced from
51e410a84eaa9742ea8881435925a242fb5529cd.Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 51e410a84eaa9742ea8881435925a242fb5529cd)Signed-off-by Ankur Tyagi <[email protected]>--- .../recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb renamed from meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb +4
-3@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz" -SRC_URI[sha256sum] = "619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15" +SRC_URI[sha256sum] = "0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1" inherit autotools -S = "${WORKDIR}/lsscsi-${PV}r154" +S = "${WORKDIR}/lsscsi-${PV}" + +UPSTREAM_CHECK_REGEX = "lsscsi-(?P<pver>\d+(\.\d+)+)\.tgz" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#119852): https://lists.openembedded.org/g/openembedded-devel/message/119852
Mute This Topic: https://lists.openembedded.org/mt/115426052/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe][meta-oe][walnascar][PATCH v2 3/3] lsscsi: upgrade to version 0.32
Quoted 9 lines · Gyorgy Sarvari
I dunno. This recipe is a bit of a mess, at least regarding the application's versioning habits and the recipe's history due to this.
The changelog definitely looks suitable enough. And interestingly Kirkstone has a newer version - which has been reverted later in master (which revert was later reverted once again, to have the latest version), and that old version got into Walnascar.
Quoted 9 lines
But here is the real problem: this version goes backwards[1] (at least as far as Bitbake is concerned) - and I have seen people being unhappy about this. I wonder if maybe in master it would be better to give this recipe a PE...
[1]:
https://gist.github.com/OldManYellsAtCloud/f3e26c13bd68118f8e586803e9b3a8d4
- this was copied from buildhistory.bbclass and from bb.utils module
very good catch, I was able to reproduce that by replicating upgrade from lsscsi_030.bb -> lsscsi_0.32.bb
$ bitbake -c cleansstate lsscsi ... $ bitbake -e lsscsi | grep "^PV=" PV="030" $ bitbake lsscsi ... meta-oe meta-python meta-networking meta-gnome meta-filesystems meta-initramfs meta-multimedia meta-perl meta-webserver meta-xfce = "walnascar:80ab58cc404959ae2f0e8b2e68935b3bfd8e8cfe"
Sstate summary: Wanted 83 Local 73 Mirrors 1 Missed 9 Current 191 (89% match, 96% complete)####################################################################
| ETA: 0:00:00
Initialising tasks: 100% |#####################################################################################################################################################|
Time: 0:00:03
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 834 tasks of which 816 didn't need to
be rerun and all succeeded.
<= checkout dev branch =>
$ bitbake -e lsscsi | grep "^PV=" PV="0.32" $ bitbake lsscsi ... meta-oe meta-python meta-networking meta-gnome meta-filesystems meta-initramfs meta-multimedia meta-perl meta-webserver meta-xfce = "lsscsi-walnascar:2aaa71377618350d2af8fafc51dcd4fb403ed554"
Sstate summary: Wanted 83 Local 83 Mirrors 0 Missed 0 Current 191 (100% match, 100% complete)##################################################################
| ETA: 0:00:00
Initialising tasks: 100% |#####################################################################################################################################################|
Time: 0:00:01
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 834 tasks of which 833 didn't need to
be rerun and all succeeded.
<= bump PE =>
$ bitbake -e lsscsi | grep "^PE=" PE="1" $ bitbake lsscsi ... meta-oe meta-python meta-networking meta-gnome meta-filesystems meta-initramfs meta-multimedia meta-perl meta-webserver meta-xfce = "lsscsi-walnascar:2aaa71377618350d2af8fafc51dcd4fb403ed554"
Sstate summary: Wanted 81 Local 74 Mirrors 0 Missed 7 Current 193 (91% match, 97% complete)####################################################################
| ETA: 0:00:00
Removing 5 stale sstate objects for arch core2-64: 100% |######################################################################################################################|
Time: 0:00:00
Removing 1 stale sstate objects for arch qemux86_64: 100% |####################################################################################################################|
Time: 0:00:00
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 834 tasks of which 818 didn't need to
be rerun and all succeeded.
I will send patches for master and walnascar.
Quoted 46 lines · Ankur Tyagi via lists.openembedded.org
Quoted 44 lines
From: Changqing Li <[email protected]>
Upstream changelogs:
https://sg.danny.cz/scsi/lsscsi.ChangeLogChanges in this commit are referenced from
51e410a84eaa9742ea8881435925a242fb5529cd.Signed-off-by Khem Raj <[email protected]>(cherry picked from commit 51e410a84eaa9742ea8881435925a242fb5529cd)Signed-off-by Ankur Tyagi <[email protected]>--- .../recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb renamed from meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb +4
-3@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz" -SRC_URI[sha256sum] = "619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15" +SRC_URI[sha256sum] = "0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1" inherit autotools -S = "${WORKDIR}/lsscsi-${PV}r154" +S = "${WORKDIR}/lsscsi-${PV}" + +UPSTREAM_CHECK_REGEX = "lsscsi-(?P<pver>\d+(\.\d+)+)\.tgz" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#119852): https://lists.openembedded.org/g/openembedded-devel/message/119852
Mute This Topic: https://lists.openembedded.org/mt/115426052/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-