Bug 15759

Summary: grub-efi-cfg using undefined variables
Product: [Build System, Metadata & Runtime] OE-Core Reporter: kweihmann
Component: coreAssignee: Antonin Godard <antonin.godard>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 6.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description kweihmann 2025-02-16 10:25:02 UTC
grub-efi-cfg class uses the following variables, but none of them are coming
with any default value

- GRUB_CFG
- LABELS
- INITRD

Furthermore most of the used variables are not documented besides in file comments
Comment 1 Richard Purdie 2025-02-17 12:54:56 UTC
As per several other bugs opened of this type, we are not adding default values for the sake of it.

I do agree we should document variables where possible.
Comment 2 Randy MacLeod 2025-02-20 15:54:12 UTC
It might be nice to rename the variables to be less generic.