Bug 15759 - grub-efi-cfg using undefined variables
Summary: grub-efi-cfg using undefined variables
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.99
Assignee: Antonin Godard
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-02-16 10:25 UTC by kweihmann
Modified: 2025-12-05 15:27 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.