Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Vincent Davis Jr <vince@underview.tech>
To: openembedded-core@lists.openembedded.org
Cc: Vincent Davis Jr <vince@underview.tech>
Subject: [PATCH 11/19] systemd: rename kernel prefix
Date: Sat, 11 Jul 2026 01:23:55 -0400	[thread overview]
Message-ID: <20260711052403.1292286-11-vince@underview.tech> (raw)
In-Reply-To: <20260711052403.1292286-1-vince@underview.tech>

Utilize preset variable KERNEL_PACKAGE_NAME
to ensure uninformative with builds if
KERNEL_PACKAGE_NAME variable were to change.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
 meta/recipes-core/systemd/systemd_259.5.bb | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_259.5.bb b/meta/recipes-core/systemd/systemd_259.5.bb
index f3ec0edae7..7f359dc4da 100644
--- a/meta/recipes-core/systemd/systemd_259.5.bb
+++ b/meta/recipes-core/systemd/systemd_259.5.bb
@@ -8,7 +8,7 @@ DEPENDS = "gperf-native libcap util-linux python3-jinja2-native"
 
 SECTION = "base/shell"
 
-inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives systemd gettext bash-completion manpages features_check mime
+inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives systemd gettext bash-completion manpages features_check mime kernel-vars
 
 # unmerged-usr support is deprecated upstream, taints the system and will be
 # removed in the near future. Fail the build if it is not enabled.
@@ -483,7 +483,7 @@ FILES:${PN}-binfmt = "${sysconfdir}/binfmt.d/ \
                       ${nonarch_libdir}/systemd/systemd-binfmt \
                       ${systemd_system_unitdir}/proc-sys-fs-binfmt_misc.* \
                       ${systemd_system_unitdir}/systemd-binfmt.service"
-RRECOMMENDS:${PN}-binfmt = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', 'kernel-module-binfmt-misc', '', d)}"
+RRECOMMENDS:${PN}-binfmt = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${KERNEL_PACKAGE_NAME}-module-binfmt-misc', '', d)}"
 
 RDEPENDS:${PN}-vconsole-setup = "${@bb.utils.contains('PACKAGECONFIG', 'vconsole', 'kbd kbd-consolefonts kbd-keymaps', '', d)}"
 
@@ -561,9 +561,9 @@ RRECOMMENDS:${PN}-container += "\
                          ${PN}-journal-gatewayd \
                          ${PN}-journal-remote \
                          ${PN}-journal-upload \
-                         kernel-module-dm-mod \
-                         kernel-module-loop \
-                         kernel-module-tun \
+                         ${KERNEL_PACKAGE_NAME}-module-dm-mod \
+                         ${KERNEL_PACKAGE_NAME}-module-loop \
+                         ${KERNEL_PACKAGE_NAME}-module-tun \
                          tar \
                         "
 
@@ -744,7 +744,10 @@ RDEPENDS:${PN} += "volatile-binds"
 RRECOMMENDS:${PN} += "${PN}-extra-utils \
                       udev-hwdb \
                       e2fsprogs-e2fsck \
-                      kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 kernel-module-sch-fq-codel \
+                      ${KERNEL_PACKAGE_NAME}-module-autofs4 \
+                      ${KERNEL_PACKAGE_NAME}-module-unix \
+                      ${KERNEL_PACKAGE_NAME}-module-ipv6 \
+                      ${KERNEL_PACKAGE_NAME}-module-sch-fq-codel \
                       os-release \
                       systemd-conf \
                       ${@bb.utils.contains('PACKAGECONFIG', 'logind', 'pam-plugin-umask', '', d)} \
-- 
2.43.0



  parent reply	other threads:[~2026-07-11  5:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-11  5:23 [PATCH 01/19] kernal-vars: introduce new class Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 02/19] kernel: introduce kernel-vars class Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 03/19] packagegroup-self-hosted: rename kernel prefix Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 04/19] packegroup-core-boot: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 05/19] packagegroup-base: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 06/19] ofono: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 07/19] iptables: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 08/19] watchdog: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 09/19] nfs-utils: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 10/19] mdadm: " Vincent Davis Jr
2026-07-11  5:23 ` Vincent Davis Jr [this message]
2026-07-11  5:23 ` [PATCH 12/19] util-linux: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 13/19] connman: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 14/19] hwlatdetect: " Vincent Davis Jr
2026-07-11  5:23 ` [PATCH 15/19] v86d: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 16/19] efivar: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 17/19] parted: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 18/19] ltp: " Vincent Davis Jr
2026-07-11  5:24 ` [PATCH 19/19] libnl: " Vincent Davis Jr
2026-07-11 20:22 ` [OE-core] [PATCH 01/19] kernal-vars: introduce new class Richard Purdie

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=20260711052403.1292286-11-vince@underview.tech \
    --to=vince@underview.tech \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox