From: Wang Mingyu < wangmy@fujitsu.com>
To: openembedded-core@lists.openembedded.org
Cc: Wang Mingyu <wangmy@fujitsu.com>
Subject: [OE-core] [PATCH 14/16] kbd: upgrade 2.9.0 -> 2.10.0
Date: Wed, 10 Jun 2026 17:49:29 +0800 [thread overview]
Message-ID: <20260610094932.2264-14-wangmy@fujitsu.com> (raw)
In-Reply-To: <20260610094932.2264-1-wangmy@fujitsu.com>
From: Wang Mingyu <wangmy@fujitsu.com>
0001-Preserve-only-necessary-metadata-during-install.patch
0001-libkbdfile-Fix-problem-with-undeclared-sym_gzopen.patch
removed since they're included in 2.10.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
...ly-necessary-metadata-during-install.patch | 54 ------------------
...x-problem-with-undeclared-sym_gzopen.patch | 57 -------------------
.../kbd/{kbd_2.9.0.bb => kbd_2.10.0.bb} | 7 +--
3 files changed, 2 insertions(+), 116 deletions(-)
delete mode 100644 meta/recipes-core/kbd/kbd/0001-Preserve-only-necessary-metadata-during-install.patch
delete mode 100644 meta/recipes-core/kbd/kbd/0001-libkbdfile-Fix-problem-with-undeclared-sym_gzopen.patch
rename meta/recipes-core/kbd/{kbd_2.9.0.bb => kbd_2.10.0.bb} (87%)
diff --git a/meta/recipes-core/kbd/kbd/0001-Preserve-only-necessary-metadata-during-install.patch b/meta/recipes-core/kbd/kbd/0001-Preserve-only-necessary-metadata-during-install.patch
deleted file mode 100644
index 87275040c1..0000000000
--- a/meta/recipes-core/kbd/kbd/0001-Preserve-only-necessary-metadata-during-install.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From d9d1c22592b6ce21bf455a22bca9000bf9b3fe61 Mon Sep 17 00:00:00 2001
-From: Alexey Gladkov <legion@kernel.org>
-Date: Wed, 10 Sep 2025 10:45:25 +0200
-Subject: [PATCH] Preserve only necessary metadata during install
-
-"cp -a" tries to preserve all attributes if possible. This implies
-preserving mode, any ACL, xattr permissions, and security context.
-
-In some cases (such as fakeroot), it is not possible to preserve that
-all attributes are preserved.
-
- cp: failed to preserve ownership for /tmp/.pkgmk/pkg/usr/share/kbd/keymaps/i386/qwertz/sr-latin.map.gz: Operation not supported
-
-To avoid this, we will require that only the necessary attributes be
-preserved. It is important for us to preserve the simlinks.
-
-Signed-off-by: Alexey Gladkov <legion@kernel.org>
-Upstream-Status: Backport [https://github.com/legionus/kbd/commit/db82eb6f86e6c0b8ac4260e88b88d66e1cd7c077]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- data/Makefile.am | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/data/Makefile.am b/data/Makefile.am
-index a730062..4d2ae3d 100644
---- a/data/Makefile.am
-+++ b/data/Makefile.am
-@@ -44,21 +44,21 @@ endif
-
- install-consolefonts: $(SRC_FONTDIR) $(SRC_PARTIALDIR)
- mkdir -p -m 755 -- $(DESTDIR)$(datadir)/$(FONTDIR)
-- cp -a -- $(SRC_FONTDIR)/* $(DESTDIR)$(datadir)/$(FONTDIR)/
-+ cp -dPR -- $(SRC_FONTDIR)/* $(DESTDIR)$(datadir)/$(FONTDIR)/
- mkdir -p -m 755 -- $(DESTDIR)$(datadir)/$(FONTDIR)/$(PARTIALDIR)
-- cp -a -- $(SRC_PARTIALDIR)/* $(DESTDIR)$(datadir)/$(FONTDIR)/$(PARTIALDIR)/
-+ cp -dPR -- $(SRC_PARTIALDIR)/* $(DESTDIR)$(datadir)/$(FONTDIR)/$(PARTIALDIR)/
-
- install-consoletrans:
- mkdir -p -m 755 -- $(DESTDIR)$(datadir)/$(TRANSDIR)
-- cp -a -- $(srcdir)/$(TRANSDIR)/* $(DESTDIR)$(datadir)/$(TRANSDIR)/
-+ cp -dPR -- $(srcdir)/$(TRANSDIR)/* $(DESTDIR)$(datadir)/$(TRANSDIR)/
-
- install-unimaps:
- mkdir -p -m 755 -- $(DESTDIR)$(datadir)/$(UNIMAPDIR)
-- cp -a -- $(srcdir)/$(UNIMAPDIR)/* $(DESTDIR)$(datadir)/$(UNIMAPDIR)/
-+ cp -dPR -- $(srcdir)/$(UNIMAPDIR)/* $(DESTDIR)$(datadir)/$(UNIMAPDIR)/
-
- install-keymaps: $(SRC_KEYMAPDIR)
- mkdir -p -m 755 -- $(DESTDIR)$(datadir)/$(KEYMAPDIR)
-- cp -ar -- $(SRC_KEYMAPDIR)/* $(DESTDIR)$(datadir)/$(KEYMAPDIR)/
-+ cp -dPR -- $(SRC_KEYMAPDIR)/* $(DESTDIR)$(datadir)/$(KEYMAPDIR)/
- cd "$(DESTDIR)$(datadir)/$(KEYMAPDIR)"; \
- for f in $(IGNORE_KEYMAPS); do ! test -e "$$f" || rm -f -- "$$f"; done
- rm -f $(DESTDIR)$(datadir)/$(KEYMAPDIR)/ppc
diff --git a/meta/recipes-core/kbd/kbd/0001-libkbdfile-Fix-problem-with-undeclared-sym_gzopen.patch b/meta/recipes-core/kbd/kbd/0001-libkbdfile-Fix-problem-with-undeclared-sym_gzopen.patch
deleted file mode 100644
index 84d273c19a..0000000000
--- a/meta/recipes-core/kbd/kbd/0001-libkbdfile-Fix-problem-with-undeclared-sym_gzopen.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 2f9a4e56c2ef245fbe840677aad9d5932e17f50d Mon Sep 17 00:00:00 2001
-From: Alexey Gladkov <legion@kernel.org>
-Date: Mon, 8 Dec 2025 11:28:24 +0100
-Subject: [PATCH] libkbdfile: Fix problem with undeclared sym_gzopen
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-A compile error occurs on certain systems:
-
-kbdfile-zlib.c: In function 'dlopen_note':
-elf-note.h:27:30: error: 'sym_gzopen' undeclared (first use in this function); did you mean 'sym_gzopen64'?
- 27 | #define DLSYM_ARG(symbol__) &sym_##symbol__, STRINGIFY(symbol__),
-
-kbdfile-zlib.c: In function 'kbdfile_decompressor_zlib': kbdfile-zlib.c:61:15: error: implicit declaration of function 'sym_gzopen'; did you mean 'sym_gzopen64'?
- [-Wimplicit-function-declaration]
- 61 | gzf = sym_gzopen(file->pathname, "rb");
-
-The problem arises because if -D_FILE_OFFSET_BITS=64 is specified, which
-in zlib ultimately makes gzopen a macro that expands to gzopen64.
-DECLARE_SYM(gzopen) from elf-note.h then expands gzopen to gzopen64,
-resulting in sym_gzopen64 declared. That's why no sym_gzopen exists.
-
-Link: https://github.com/legionus/kbd/pull/150
-Suggested-by: Jan Čermák <sairon@sairon.cz>
-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
-Signed-off-by: Alexey Gladkov <legion@kernel.org>
-
-Upstream-Status: Backport [https://github.com/legionus/kbd/commit/2f9a4e56c2ef245fbe840677aad9d5932e17f50d]
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- src/libkbdfile/elf-note.h | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/src/libkbdfile/elf-note.h b/src/libkbdfile/elf-note.h
-index a0fd9e2..d3b8d5c 100644
---- a/src/libkbdfile/elf-note.h
-+++ b/src/libkbdfile/elf-note.h
-@@ -26,14 +26,11 @@ int dlsym_many(void **dlp, const char *filename, ...);
- */
- #define DLSYM_ARG(symbol__) &sym_##symbol__, STRINGIFY(symbol__),
-
--/* For symbols being dynamically loaded */
--#define DECLARE_DLSYM(symbol) static typeof(symbol) *sym_##symbol
--
- /*
- * Helper defines, to be done locally before including this header to switch between
- * implementations
- */
--#define DECLARE_SYM(sym__) DECLARE_DLSYM(sym__);
-+#define DECLARE_SYM(sym__) static typeof(sym__) *sym_##sym__;
-
- /*
- * Originally from systemd codebase.
---
-2.49.0
-
diff --git a/meta/recipes-core/kbd/kbd_2.9.0.bb b/meta/recipes-core/kbd/kbd_2.10.0.bb
similarity index 87%
rename from meta/recipes-core/kbd/kbd_2.9.0.bb
rename to meta/recipes-core/kbd/kbd_2.10.0.bb
index 79b011e529..5a877b9c04 100644
--- a/meta/recipes-core/kbd/kbd_2.9.0.bb
+++ b/meta/recipes-core/kbd/kbd_2.10.0.bb
@@ -23,12 +23,9 @@ RREPLACES:${PN} = "console-tools"
RPROVIDES:${PN} = "console-tools"
RCONFLICTS:${PN} = "console-tools"
-SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \
- file://0001-Preserve-only-necessary-metadata-during-install.patch \
- file://0001-libkbdfile-Fix-problem-with-undeclared-sym_gzopen.patch \
- "
+SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz"
-SRC_URI[sha256sum] = "fb3197f17a99eb44d22a3a1a71f755f9622dd963e66acfdea1a45120951b02ed"
+SRC_URI[sha256sum] = "6e5ca4f8d76ee9e3a8db700b667f13e12aac9933828a64e1aaad93d26be9b479"
# 'gzip -n' is set due to https://github.com/legionus/kbd/issues/124
EXTRA_OECONF = "--disable-tests --enable-compress='gzip -n'"
--
2.43.0
next prev parent reply other threads:[~2026-06-10 9:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 9:49 [OE-core] [PATCH 01/16] alsa-lib: upgrade 1.2.15.3 -> 1.2.16 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 02/16] alsa-utils: upgrade 1.2.15.2 " Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 03/16] barebox-tools: upgrade 2026.04.0 -> 2026.06.0 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 04/16] btrfs-tools: upgrade 6.19.1 -> 7.0 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 05/16] dos2unix: upgrade 7.5.5 -> 7.5.6 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 06/16] dropbear: upgrade 2025.89 -> 2026.91 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 07/16] fastfloat: upgrade 8.2.5 -> 8.2.8 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 08/16] file: upgrade 5.47 -> 5.48 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 09/16] fontconfig: upgrade 2.17.1 -> 2.18.1 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 10/16] ghostscript: upgrade 10.07.0 -> 10.07.1 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 11/16] gpgme: upgrade 2.0.1 -> 2.1.0 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 12/16] harfbuzz: upgrade 14.2.0 -> 14.2.1 Wang Mingyu
2026-06-10 9:49 ` [OE-core] [PATCH 13/16] hwdata: upgrade 0.406 -> 0.408 Wang Mingyu
2026-06-10 9:49 ` Wang Mingyu [this message]
2026-06-10 9:49 ` [OE-core] [PATCH 15/16] mesa: upgrade 26.0.6 -> 26.1.2,26.0.6 -> 26.1.2 Wang Mingyu
2026-06-11 5:14 ` Mathieu Dubois-Briand
2026-06-12 9:26 ` Mingyu Wang (Fujitsu)
2026-06-13 18:02 ` Alexander Kanavin
2026-06-15 2:04 ` Mingyu Wang (Fujitsu)
2026-06-15 10:44 ` Alexander Kanavin
2026-06-10 9:49 ` [OE-core] [PATCH 16/16] sbom-cve-check-update-nvd-native: upgrade 2026.05.07-000006 -> 2026.06.09-000006 Wang Mingyu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260610094932.2264-14-wangmy@fujitsu.com \
--to=wangmy@fujitsu.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.