Skip to contentSkip to conversation

arm-toolchain: remove libmount-mountfd-support when using binary toolchain

PATCH Applied Jon Mason 3 participants 3 messages Sep 19, 2024

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 arm-toolchain: remove libmount-mountfd-support when using binary toolchain

util-linux is failing when compiling with:
| configure: error: libmount_mountfd_support selected, but required mount FDs based API not available Remove this feature when building with the binary toolchain to avoid
this issue.

---
 meta-arm-toolchain/recipes-core/util-linux/util-linux_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 meta-arm-toolchain/recipes-core/util-linux/util-linux_%.bbappend
meta-arm-toolchain/recipes-core/util-linux/util-linux_%.bbappend new file +1 -0
new file mode 100644
index 000000000000..75227a567516
@@ -0,0 +1 @@
+PACKAGECONFIG:remove = "${@bb.utils.contains('TCMODE', 'external-arm', 'libmount-mountfd-support', '' , d)}"
Signature · 1 line
2.39.3 (Apple Git-146)
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Jon Mason

util-linux is failing when compiling with:
| configure: error: libmount_mountfd_support selected, but required mount FDs based API not available Remove this feature when building with the binary toolchain to avoid
this issue.

Quoted 14 lines
---
 meta-arm-toolchain/recipes-core/util-linux/util-linux_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 meta-arm-toolchain/recipes-core/util-linux/util-linux_%.bbappend
meta-arm-toolchain/recipes-core/util-linux/util-linux_%.bbappend new file +1 -0
new file mode 100644
index 000000000000..75227a567516
@@ -0,0 +1 @@
+PACKAGECONFIG:remove = "${@bb.utils.contains('TCMODE', 'external-arm', 'libmount-mountfd-support', '' , d)}"
Signature · 1 line
2.39.3 (Apple Git-146)
Applied
#2 lore raw
In reply to Jon Mason
Quoted 6 lines · Jon Mason

util-linux is failing when compiling with:
| configure: error: libmount_mountfd_support selected, but required mount FDs based API not available Remove this feature when building with the binary toolchain to avoid
this issue.

Applied, thanks!

[1/1] arm-toolchain: remove libmount-mountfd-support when using binary toolchain

      commit: 45a2b44284444aaf89e03c40258f876785425582

Best regards,

Signature · 1 line
Jon Mason <[email protected]>