diff mbox series

[meta-ti,master] ti-core-initramfs: Add TI_CORE_INITRAMFS_EXTRA_INSTALL

Message ID 20260212151051.2036528-1-reatmon@ti.com
State New
Headers show
Series [meta-ti,master] ti-core-initramfs: Add TI_CORE_INITRAMFS_EXTRA_INSTALL | expand

Commit Message

Ryan Eatmon Feb. 12, 2026, 3:10 p.m. UTC
Add TI_CORE_INITRAMFS_EXTRA_INSTALL variable that another layer can use to
install additional packages/changes into the initramfs.  Setting this
variable will also turn on the initramfs even if the platform does not
have kernel modules to include.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc | 3 ++-
 meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb  | 7 ++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

Comments

PRC Automation Feb. 12, 2026, 3:15 p.m. UTC | #1
meta-ti / na / 20260212151051.2036528-1-reatmon

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: FAIL
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] ti-core-initramfs: Add TI_CORE_INITRAMFS_EXTRA_INSTALL
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Thu, 12 Feb 2026 09:10:51 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 3b1a66e9a2b85cd14a4e0c80a6bbb6297e98410a

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.master-ltsprep.202602111800
- Commit SHA: a6bf8a8f6ecbd6c7f8305690a9a0dbd0f67b576c

Patches
----------------------------------------
FAIL - [meta-ti][master][PATCH] ti-core-initramfs: Add TI_CORE_INITRAMFS_EXTRA_INSTALL
    error: meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc: does not exist in index
    Applying: ti-core-initramfs: Add TI_CORE_INITRAMFS_EXTRA_INSTALL
    Patch failed at 0001 ti-core-initramfs: Add TI_CORE_INITRAMFS_EXTRA_INSTALL
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc b/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc
index 3b749e37..9d3cc612 100644
--- a/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc
+++ b/meta-ti-bsp/conf/machine/include/ti-core-initramfs.inc
@@ -5,9 +5,10 @@ 
 #   TI_CORE_INITRAMFS_ENABLED = "0"
 #
 #------------------------------------------------------------------------------
-TI_CORE_INITRAMFS_ENABLED ?= "${@ '1' if d.getVar('TI_CORE_INITRAMFS_KERNEL_MODULES') else '0'}"
+TI_CORE_INITRAMFS_ENABLED ?= "${@ '1' if d.getVar('TI_CORE_INITRAMFS_KERNEL_MODULES') or d.getVar('TI_CORE_INITRAMFS_EXTRA_INSTALL') else '0'}"
 
 TI_CORE_INITRAMFS_KERNEL_MODULES ?= ""
+TI_CORE_INITRAMFS_EXTRA_INSTALL ?= ""
 
 TI_CORE_INITRAMFS_IMAGE = "ti-core-initramfs"
 TI_CORE_INITRAMFS_IMAGE_FILE = "${TI_CORE_INITRAMFS_IMAGE}.cpio.xz"
diff --git a/meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb b/meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb
index ddf4e5b4..0180f09e 100644
--- a/meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb
+++ b/meta-ti-bsp/recipes-ti/initramfs/ti-core-initramfs.bb
@@ -15,7 +15,12 @@  IMAGE_NAME = "ti-core-initramfs"
 
 export IMAGE_BASENAME = "${IMAGE_NAME}"
 
-PACKAGE_INSTALL = "packagegroup-ti-core-initramfs"
+TI_CORE_INITRAMFS_EXTRA_INSTALL ?= ""
+
+PACKAGE_INSTALL = "\
+    packagegroup-ti-core-initramfs \
+    ${TI_CORE_INITRAMFS_EXTRA_INSTALL} \
+"
 
 # Ensure the initramfs only contains the bare minimum
 IMAGE_FEATURES = ""