You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an undefined variable in kernel-balena.bbclass which is only exposed when the BALENA_DEFCONFIG_NAME parameter is set. The patch below resolves the error by correcting the typo in the variable name:
diff --git a/meta-balena-common/classes/kernel-balena.bbclass b/meta-balena-common/classes/kernel-balena.bbclass
--- meta-balena-common/classes/kernel-balena.bbclass
+++ meta-balena-common/classes/kernel-balena.bbclass
@@ -1034,9 +1034,9 @@
resinDefconfig = d.getVar("BALENA_DEFCONFIG_NAME", True)
resinDefconfigPath = d.getVar("WORKDIR", True) + '/' + resinDefconfig
wantedConfigs = getKernelSetConfigs(resinDefconfigPath)
if wantedConfigs:
- configured = wantedConfigs.intersection(allSetConfigs)
+ configured = wantedConfigs.intersection(allSetKernelConfigs)
notconfigured = wantedConfigs.difference(configured)
for config in notconfigured:
if not config.endswith('=n'):
bb.warn("Checking for %s in the resin kernel configs failed from %s."
The text was updated successfully, but these errors were encountered:
There is an undefined variable in
kernel-balena.bbclass
which is only exposed when theBALENA_DEFCONFIG_NAME
parameter is set. The patch below resolves the error by correcting the typo in the variable name:The text was updated successfully, but these errors were encountered: