summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-core/util-linux/util-linux-2.39
diff options
context:
space:
mode:
authorTrevor Woerner <trevor.woerner@amd.com>2025-03-28 13:10:57 -0400
committerMark Hatle <mark.hatle@amd.com>2025-05-08 13:58:14 -0500
commit87349a907b13bc5cabb9266acd64deb648e73ed2 (patch)
treed2c86ce497b34fd9a578cf271aeff3d31837fafa /meta-microblaze/recipes-core/util-linux/util-linux-2.39
parenta9b1c80db916102b08ff074fc16013c4e5b85734 (diff)
downloadmeta-xilinx-87349a907b13bc5cabb9266acd64deb648e73ed2.tar.gz
util-linux: carry the version from upsream master
wic uses the sfdisk(-native) utility from the util-linux project. Adding support for 4k sectors requires a version of sfdisk that can handle variable-sized sectors specified on the command-line. The version of sfdisk in scarthgap (2.39.3) does not have this feature, but the version in master (2.40.4) does. Signed-off-by: Trevor Woerner <trevor.woerner@amd.com> The microblaze util-linux patch needs to be updated for 2.40 as well. Move existing integration to specifically target the Poky version, while a new 2.40 version is created. This should allow either version if the user decided to use PREFERRED_VERSION. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-microblaze/recipes-core/util-linux/util-linux-2.39')
-rw-r--r--meta-microblaze/recipes-core/util-linux/util-linux-2.39/util-linux-microblaze.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-core/util-linux/util-linux-2.39/util-linux-microblaze.patch b/meta-microblaze/recipes-core/util-linux/util-linux-2.39/util-linux-microblaze.patch
new file mode 100644
index 00000000..07712c98
--- /dev/null
+++ b/meta-microblaze/recipes-core/util-linux/util-linux-2.39/util-linux-microblaze.patch
@@ -0,0 +1,17 @@
1SECCOMP / Audit support needs to know about the microblaze architecture.
2
3Upstream-Status: Pending
4
5Signed-off-by: Mark Hatle <mark.hatle@amd.com>
6
7--- util-linux-2.39.1/include/audit-arch.h.orig 2023-08-23 14:55:54.318732126 -0600
8+++ util-linux-2.39.1/include/audit-arch.h 2023-08-23 15:02:51.058552660 -0600
9@@ -57,6 +57,8 @@
10 # else
11 # define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64
12 # endif
13+#elif __microblaze__
14+# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_MICROBLAZE
15 #else
16 # error Unknown target architecture
17 #endif