| Message ID | 20260325062856.2664785-1-m-shah@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | packagegroup-ti-core-initramfs: Remove runtime managers from initramfs image | expand |
meta-ti / na / 20260325062856.2664785-1-m-shah
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [PATCH] packagegroup-ti-core-initramfs: Remove runtime managers from initramfs image
WARN: Missing branches specifier [master/scarthgap/XXXXX]. (META-2)
patch:68
Subject: [PATCH] packagegroup-ti-core-initramfs: Remove runtime managers from initramfs image
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [PATCH] packagegroup-ti-core-initramfs: Remove runtime managers from initramfs image
- Submitter: From: Moteen Shah <m-shah@ti.com>
- Date: Date: Wed, 25 Mar 2026 11:58:56 +0530
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: c301a37918de41350fb9280a6f2d8e5258d17d21
Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Shiva Tripathi <s-tripathi1@ti.com>
- Commit Subject: conf: Enable dynamic tpm-layer support for LUKS
- Commit SHA: 9e86280d686586ae0328a44cbcc2ff45e71fdfca
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
On 3/25/2026 1:28 AM, Moteen Shah wrote: > Remove runtime managers since ti-core-initramfs does not requires > login and other services as it is being used as a read only > image during the boot. Modules can be probed using the udev from > initrams-module-udev, hence remove the init manager along with > others. I don't think this is going to pass muster. We just added those in to make the initramfs function correctly with the rest of the system post boot. What is the more in depth reason you want to remove them? Are they causing you a problem? I'll let Denys chime in more since he did the work to figure out what all we needed to add in to make it "correct". > Signed-off-by: Moteen Shah <m-shah@ti.com> > --- > This patch will help in reducing the size of the initramfs to about 7 MB's compressed and 25 MB's uncompressed > Boot logs: https://gist.github.com/Jamm02/ebdb124064e253208ee479f46edf127f > .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb > index a9eff847..f496f21a 100644 > --- a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb > +++ b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb > @@ -11,10 +11,6 @@ TI_CORE_INITRAMFS_KERNEL_MODULES ?= "" > RDEPENDS:${PN} += "\ > ${TI_CORE_INITRAMFS_KERNEL_MODULES} \ > ${VIRTUAL-RUNTIME_base-utils} \ > - ${VIRTUAL-RUNTIME_login_manager} \ > - ${VIRTUAL-RUNTIME_init_manager} \ > - ${VIRTUAL-RUNTIME_dev_manager} \ > - ${VIRTUAL-RUNTIME_update-alternatives} \ > netbase \ > base-files \ > base-passwd \
diff --git a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb index a9eff847..f496f21a 100644 --- a/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb +++ b/meta-ti-bsp/recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb @@ -11,10 +11,6 @@ TI_CORE_INITRAMFS_KERNEL_MODULES ?= "" RDEPENDS:${PN} += "\ ${TI_CORE_INITRAMFS_KERNEL_MODULES} \ ${VIRTUAL-RUNTIME_base-utils} \ - ${VIRTUAL-RUNTIME_login_manager} \ - ${VIRTUAL-RUNTIME_init_manager} \ - ${VIRTUAL-RUNTIME_dev_manager} \ - ${VIRTUAL-RUNTIME_update-alternatives} \ netbase \ base-files \ base-passwd \
Remove runtime managers since ti-core-initramfs does not requires login and other services as it is being used as a read only image during the boot. Modules can be probed using the udev from initrams-module-udev, hence remove the init manager along with others. Signed-off-by: Moteen Shah <m-shah@ti.com> --- This patch will help in reducing the size of the initramfs to about 7 MB's compressed and 25 MB's uncompressed Boot logs: https://gist.github.com/Jamm02/ebdb124064e253208ee479f46edf127f .../recipes-ti/initramfs/packagegroup-ti-core-initramfs.bb | 4 ---- 1 file changed, 4 deletions(-)