[PATCH] arm/edk2-basetools-native: add util-linux-native to DEPENDS
Igor Opaniuk <[email protected]> Mon, 25 May 2026 15:06:56 +0200
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
The C host tools GenFv and GenFfs include <uuid/uuid.h> from libuuid,
which is provided by util-linux. Without an explicit dependency the
build relies on the header being present in the host system, which
breaks reproducible builds and fails on hosts without uuid-dev
installed:
GenFvInternalLib.c:21:10: fatal error: uuid/uuid.h: No such file or directory
21 | #include <uuid/uuid.h>
| ^~~~~~~~~~~~~
compilation terminated.
Add util-linux-native to DEPENDS so libuuid is staged into the native
sysroot before compilation.
Signed-off-by: Igor Opaniuk <[email protected]>
---
meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb
index e2d927e2..35dc199c 100644
--- a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb
+++ b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb
@@ -25,6 +25,8 @@ UPSTREAM_CHECK_GITTAGREGEX = "^edk2-stable(?P<pver>\d+)$"
inherit native
+DEPENDS += "util-linux-native"
+
RDEPENDS:${PN} += "python3-core"
do_compile() {
--
2.53.0