[PATCH] fix: correct typo in variable lookup

22 views
Skip to first unread message

Rakesh Kumar

unread,
Dec 10, 2025, 4:09:18 AM (7 days ago) Dec 10
to isar-...@googlegroups.com, jan.k...@siemens.com, cedric.h...@siemens.com, Rakesh Kumar
Correct the typo from d.getVAR() typo to d.getVar()

Signed-off-by: Rakesh Kumar <kumar....@siemens.com>
---
meta/classes-recipe/dracut-module.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/dracut-module.bbclass b/meta/classes-recipe/dracut-module.bbclass
index 364fb5b4..a5418d44 100644
--- a/meta/classes-recipe/dracut-module.bbclass
+++ b/meta/classes-recipe/dracut-module.bbclass
@@ -17,7 +17,7 @@ DRACUT_MODULE_SETUP = "module-setup.sh"
SRC_URI:append = "file://${DRACUT_MODULE_SETUP}.tmpl"

DRACUT_MODULE_NO ??= "50"
-DRACUT_MODULE_NAME ?= "${@ d.getVar('PN')[7:] if d.getVar('PN').startswith('dracut-') else d.getVAR('PN')}"
+DRACUT_MODULE_NAME ?= "${@ d.getVar('PN')[7:] if d.getVar('PN').startswith('dracut-') else d.getVar('PN')}"

DEBIAN_DEPENDS = "dracut-core"
DRACUT_MODULE_PATH = "${D}/usr/lib/dracut/modules.d/${DRACUT_MODULE_NO}${DRACUT_MODULE_NAME}/"
--
2.30.2

Zhihang Wei

unread,
Dec 11, 2025, 11:18:57 AM (6 days ago) Dec 11
to Rakesh Kumar, isar-...@googlegroups.com, jan.k...@siemens.com, cedric.h...@siemens.com
Applied to next, thanks.

Zhihang
Reply all
Reply to author
Forward
0 new messages