From: Vincent Davis Jr <vince@underview.tech>
To: openembedded-core@lists.openembedded.org
Cc: Vincent Davis Jr <vince@underview.tech>
Subject: [PATCH v4 08/27] packagegroup-base: rename kernel prefix
Date: Sun, 12 Jul 2026 14:42:48 -0400 [thread overview]
Message-ID: <20260712184307.3259642-8-vince@underview.tech> (raw)
In-Reply-To: <20260712184307.3259642-1-vince@underview.tech>
Utilize preset variable KERNEL_PACKAGE_NAME
to ensure uniformity with builds if
KERNEL_PACKAGE_NAME variable were to
change.
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
.../packagegroups/packagegroup-base.bb | 156 +++++++++---------
1 file changed, 78 insertions(+), 78 deletions(-)
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index c57f4ae92a..e9726e1bbf 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -73,13 +73,13 @@ RDEPENDS:packagegroup-base = "\
"
RRECOMMENDS:packagegroup-base = "\
- kernel-module-nls-utf8 \
- kernel-module-input \
- kernel-module-uinput \
- kernel-module-rtc-dev \
- kernel-module-rtc-proc \
- kernel-module-rtc-sysfs \
- kernel-module-unix"
+ ${KERNEL_PACKAGE_NAME}-module-nls-utf8 \
+ ${KERNEL_PACKAGE_NAME}-module-input \
+ ${KERNEL_PACKAGE_NAME}-module-uinput \
+ ${KERNEL_PACKAGE_NAME}-module-rtc-dev \
+ ${KERNEL_PACKAGE_NAME}-module-rtc-proc \
+ ${KERNEL_PACKAGE_NAME}-module-rtc-sysfs \
+ ${KERNEL_PACKAGE_NAME}-module-unix"
RDEPENDS:packagegroup-base-extended = "\
packagegroup-base \
@@ -152,10 +152,10 @@ RRECOMMENDS:packagegroup-base-ext2 = "\
SUMMARY:packagegroup-base-vfat = "FAT filesystem support"
RRECOMMENDS:packagegroup-base-vfat = "\
- kernel-module-msdos \
- kernel-module-vfat \
- kernel-module-nls-iso8859-1 \
- kernel-module-nls-cp437 \
+ ${KERNEL_PACKAGE_NAME}-module-msdos \
+ ${KERNEL_PACKAGE_NAME}-module-vfat \
+ ${KERNEL_PACKAGE_NAME}-module-nls-iso8859-1 \
+ ${KERNEL_PACKAGE_NAME}-module-nls-cp437 \
dosfstools"
SUMMARY:packagegroup-base-alsa = "ALSA sound support"
@@ -165,8 +165,8 @@ RDEPENDS:packagegroup-base-alsa = "\
${VIRTUAL-RUNTIME_alsa-state}"
RRECOMMENDS:packagegroup-base-alsa = "\
- kernel-module-snd-mixer-oss \
- kernel-module-snd-pcm-oss"
+ ${KERNEL_PACKAGE_NAME}-module-snd-mixer-oss \
+ ${KERNEL_PACKAGE_NAME}-module-snd-pcm-oss"
SUMMARY:packagegroup-base-pcmcia = "PC card slot support"
RDEPENDS:packagegroup-base-pcmcia = "\
@@ -174,15 +174,15 @@ RDEPENDS:packagegroup-base-pcmcia = "\
"
RRECOMMENDS:packagegroup-base-pcmcia = "\
- kernel-module-pcmcia \
- kernel-module-airo-cs \
- kernel-module-pcnet-cs \
- kernel-module-serial-cs \
- kernel-module-ide-cs \
- kernel-module-ide-disk \
- ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-hostap-cs', '',d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-orinoco-cs', '',d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'kernel-module-spectrum-cs', '',d)}"
+ ${KERNEL_PACKAGE_NAME}-module-pcmcia \
+ ${KERNEL_PACKAGE_NAME}-module-airo-cs \
+ ${KERNEL_PACKAGE_NAME}-module-pcnet-cs \
+ ${KERNEL_PACKAGE_NAME}-module-serial-cs \
+ ${KERNEL_PACKAGE_NAME}-module-ide-cs \
+ ${KERNEL_PACKAGE_NAME}-module-ide-disk \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', '${KERNEL_PACKAGE_NAME}-module-hostap-cs', '',d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', '${KERNEL_PACKAGE_NAME}-module-orinoco-cs', '',d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', '${KERNEL_PACKAGE_NAME}-module-spectrum-cs', '',d)}"
SUMMARY:packagegroup-base-bluetooth = "Bluetooth support"
RDEPENDS:packagegroup-base-bluetooth = "\
@@ -190,46 +190,46 @@ RDEPENDS:packagegroup-base-bluetooth = "\
"
RRECOMMENDS:packagegroup-base-bluetooth = "\
- kernel-module-bluetooth \
- kernel-module-l2cap \
- kernel-module-rfcomm \
- kernel-module-hci-vhci \
- kernel-module-bnep \
- kernel-module-hidp \
- kernel-module-hci-uart \
- kernel-module-sco \
- ${@bb.utils.contains('MACHINE_FEATURES', 'usbhost', 'kernel-module-hci-usb', '',d)} \
- ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', 'kernel-module-bluetooth3c-cs', '',d)} \
- ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', 'kernel-module-bluecard-cs', '',d)} \
- ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', 'kernel-module-bluetoothuart-cs', '',d)} \
- ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', '',d)} \
+ ${KERNEL_PACKAGE_NAME}-module-bluetooth \
+ ${KERNEL_PACKAGE_NAME}-module-l2cap \
+ ${KERNEL_PACKAGE_NAME}-module-rfcomm \
+ ${KERNEL_PACKAGE_NAME}-module-hci-vhci \
+ ${KERNEL_PACKAGE_NAME}-module-bnep \
+ ${KERNEL_PACKAGE_NAME}-module-hidp \
+ ${KERNEL_PACKAGE_NAME}-module-hci-uart \
+ ${KERNEL_PACKAGE_NAME}-module-sco \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'usbhost', '${KERNEL_PACKAGE_NAME}-module-hci-usb', '',d)} \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', '${KERNEL_PACKAGE_NAME}-module-bluetooth3c-cs', '',d)} \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', '${KERNEL_PACKAGE_NAME}-module-bluecard-cs', '',d)} \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', '${KERNEL_PACKAGE_NAME}-module-bluetoothuart-cs', '',d)} \
+ ${@bb.utils.contains('MACHINE_FEATURES', 'pcmcia', '${KERNEL_PACKAGE_NAME}-module-dtl1-cs', '',d)} \
"
SUMMARY:packagegroup-base-usbgadget = "USB gadget support"
RRECOMMENDS:packagegroup-base-usbgadget = "\
- kernel-module-pxa27x_udc \
- kernel-module-gadgetfs \
- kernel-module-g-file-storage \
- kernel-module-g-serial \
- kernel-module-g-ether"
+ ${KERNEL_PACKAGE_NAME}-module-pxa27x_udc \
+ ${KERNEL_PACKAGE_NAME}-module-gadgetfs \
+ ${KERNEL_PACKAGE_NAME}-module-g-file-storage \
+ ${KERNEL_PACKAGE_NAME}-module-g-serial \
+ ${KERNEL_PACKAGE_NAME}-module-g-ether"
SUMMARY:packagegroup-base-usbhost = "USB host support"
RDEPENDS:packagegroup-base-usbhost = "\
usbutils "
RRECOMMENDS:packagegroup-base-usbhost = "\
- kernel-module-uhci-hcd \
- kernel-module-ohci-hcd \
- kernel-module-ehci-hcd \
- kernel-module-usbcore \
- kernel-module-usbhid \
- kernel-module-usbnet \
- kernel-module-sd-mod \
- kernel-module-scsi-mod \
- kernel-module-usbmouse \
- kernel-module-mousedev \
- kernel-module-usbserial \
- kernel-module-usb-storage "
+ ${KERNEL_PACKAGE_NAME}-module-uhci-hcd \
+ ${KERNEL_PACKAGE_NAME}-module-ohci-hcd \
+ ${KERNEL_PACKAGE_NAME}-module-ehci-hcd \
+ ${KERNEL_PACKAGE_NAME}-module-usbcore \
+ ${KERNEL_PACKAGE_NAME}-module-usbhid \
+ ${KERNEL_PACKAGE_NAME}-module-usbnet \
+ ${KERNEL_PACKAGE_NAME}-module-sd-mod \
+ ${KERNEL_PACKAGE_NAME}-module-scsi-mod \
+ ${KERNEL_PACKAGE_NAME}-module-usbmouse \
+ ${KERNEL_PACKAGE_NAME}-module-mousedev \
+ ${KERNEL_PACKAGE_NAME}-module-usbserial \
+ ${KERNEL_PACKAGE_NAME}-module-usb-storage "
SUMMARY:packagegroup-base-ppp = "PPP dial-up protocol support"
RDEPENDS:packagegroup-base-ppp = "\
@@ -237,18 +237,18 @@ RDEPENDS:packagegroup-base-ppp = "\
ppp-dialin"
RRECOMMENDS:packagegroup-base-ppp = "\
- kernel-module-ppp-async \
- kernel-module-ppp-deflate \
- kernel-module-ppp-generic \
- kernel-module-ppp-mppe \
- kernel-module-slhc"
+ ${KERNEL_PACKAGE_NAME}-module-ppp-async \
+ ${KERNEL_PACKAGE_NAME}-module-ppp-deflate \
+ ${KERNEL_PACKAGE_NAME}-module-ppp-generic \
+ ${KERNEL_PACKAGE_NAME}-module-ppp-mppe \
+ ${KERNEL_PACKAGE_NAME}-module-slhc"
SUMMARY:packagegroup-base-ipsec = "IPSEC support"
RDEPENDS:packagegroup-base-ipsec = "\
"
RRECOMMENDS:packagegroup-base-ipsec = "\
- kernel-module-ipsec"
+ ${KERNEL_PACKAGE_NAME}-module-ipsec"
#
# packagegroup-base-wifi contain everything needed to get WiFi working
@@ -264,42 +264,42 @@ RDEPENDS:packagegroup-base-wifi = "\
"
RRECOMMENDS:packagegroup-base-wifi = "\
- ${@bb.utils.contains('MACHINE_FEATURES', 'usbhost', 'kernel-module-zd1211rw', '',d)} \
- kernel-module-ieee80211-crypt \
- kernel-module-ieee80211-crypt-ccmp \
- kernel-module-ieee80211-crypt-tkip \
- kernel-module-ieee80211-crypt-wep \
- kernel-module-ecb \
- kernel-module-arc4 \
- kernel-module-crypto_algapi \
- kernel-module-cryptomgr \
- kernel-module-michael-mic \
- kernel-module-aes-generic \
- kernel-module-aes"
+ ${@bb.utils.contains('MACHINE_FEATURES', 'usbhost', '${KERNEL_PACKAGE_NAME}-module-zd1211rw', '',d)} \
+ ${KERNEL_PACKAGE_NAME}-module-ieee80211-crypt \
+ ${KERNEL_PACKAGE_NAME}-module-ieee80211-crypt-ccmp \
+ ${KERNEL_PACKAGE_NAME}-module-ieee80211-crypt-tkip \
+ ${KERNEL_PACKAGE_NAME}-module-ieee80211-crypt-wep \
+ ${KERNEL_PACKAGE_NAME}-module-ecb \
+ ${KERNEL_PACKAGE_NAME}-module-arc4 \
+ ${KERNEL_PACKAGE_NAME}-module-crypto_algapi \
+ ${KERNEL_PACKAGE_NAME}-module-cryptomgr \
+ ${KERNEL_PACKAGE_NAME}-module-michael-mic \
+ ${KERNEL_PACKAGE_NAME}-module-aes-generic \
+ ${KERNEL_PACKAGE_NAME}-module-aes"
SUMMARY:packagegroup-base-nfc = "Near Field Communication support"
RDEPENDS:packagegroup-base-nfc = "\
neard"
RRECOMMENDS:packagegroup-base-nfc = "\
- kernel-module-nfc"
+ ${KERNEL_PACKAGE_NAME}-module-nfc"
SUMMARY:packagegroup-base-3g = "Cellular data support"
RDEPENDS:packagegroup-base-3g = "\
ofono"
RRECOMMENDS:packagegroup-base-3g = "\
- kernel-module-cdc-acm \
- kernel-module-cdc-wdm"
+ ${KERNEL_PACKAGE_NAME}-module-cdc-acm \
+ ${KERNEL_PACKAGE_NAME}-module-cdc-wdm"
SUMMARY:packagegroup-base-smbfs = "SMB network filesystem support"
RRECOMMENDS:packagegroup-base-smbfs = "\
- kernel-module-cifs \
- kernel-module-smbfs"
+ ${KERNEL_PACKAGE_NAME}-module-cifs \
+ ${KERNEL_PACKAGE_NAME}-module-smbfs"
SUMMARY:packagegroup-base-cramfs = "cramfs filesystem support"
RRECOMMENDS:packagegroup-base-cramfs = "\
- kernel-module-cramfs"
+ ${KERNEL_PACKAGE_NAME}-module-cramfs"
#
# packagegroup-base-nfs provides ONLY client support - server is in nfs-utils package
@@ -309,7 +309,7 @@ RDEPENDS:packagegroup-base-nfs = "\
rpcbind"
RRECOMMENDS:packagegroup-base-nfs = "\
- kernel-module-nfs "
+ ${KERNEL_PACKAGE_NAME}-module-nfs "
SUMMARY:packagegroup-base-zeroconf = "Zeroconf support"
RDEPENDS:packagegroup-base-zeroconf = "\
@@ -323,7 +323,7 @@ RDEPENDS:packagegroup-base-ipv6 = "\
"
RRECOMMENDS:packagegroup-base-ipv6 = "\
- kernel-module-ipv6 "
+ ${KERNEL_PACKAGE_NAME}-module-ipv6 "
SUMMARY:packagegroup-base-serial = "Serial port support"
RDEPENDS:packagegroup-base-serial = "\
--
2.43.0
next prev parent reply other threads:[~2026-07-12 18:43 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 18:42 [PATCH v4 01/27] bitbake: globally define KERNEL_PACKAGE_NAME Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 02/27] kernel: dont set WORKDIR if KERNEL_PACKAGE_NAME changes Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 03/27] kernel: remove setting of KERNEL_PACKAGE_NAME Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 04/27] machine: rename kernel prefix Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 05/27] core-image-kernel-dev: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 06/27] packagegroup-self-hosted: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 07/27] packagegroup-core-boot: " Vincent Davis Jr
2026-07-12 18:42 ` Vincent Davis Jr [this message]
2026-07-12 18:42 ` [PATCH v4 09/27] ofono: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 10/27] iptables: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 11/27] watchdog: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 12/27] nfs-utils: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 13/27] mdadm: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 14/27] systemd: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 15/27] util-linux: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 16/27] connman: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 17/27] hwlatdetect: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 18/27] v86d: " Vincent Davis Jr
2026-07-12 18:42 ` [PATCH v4 19/27] efivar: " Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 20/27] parted: " Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 21/27] ltp: " Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 22/27] libnl: " Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 23/27] linux-kernel-base: " Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 24/27] perf: disable discarded-qualifiers checks Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 25/27] linux-yocto-fitimage: add KERNEL_PACKAGE_NAME prefix Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 26/27] make-mod-scripts: " Vincent Davis Jr
2026-07-12 18:43 ` [PATCH v4 27/27] kernelsrc: " Vincent Davis Jr
2026-07-12 20:39 ` [OE-core] [PATCH v4 01/27] bitbake: globally define KERNEL_PACKAGE_NAME Bruce Ashfield
2026-07-12 21:38 ` Vincent Davis
[not found] ` <18C1A8990286DFDF.2110461@lists.openembedded.org>
2026-07-12 21:56 ` Vincent Davis
[not found] ` <18C1A99E719D8F0B.2110461@lists.openembedded.org>
2026-07-12 22:43 ` Vincent Davis
2026-07-13 17:06 ` Peter Kjellerstedt
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=20260712184307.3259642-8-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