Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootloader/grub2: Handle empty static configs
In ostreedev#3205, we introduced a check to skip re-generating the GRUB config if we detect that static configs are in used by looking at bootupd's state. Unfortunately this check is incomplete and does not account for present but null entries in the JSON state file. A proper fix would be to parse the JSON but this requires a larger code change. Fixes: ostreedev#3295 Fixes: ostreedev#3205
- Loading branch information