HomeVyOS Platform

grub: T4548: Fixed configuration files order

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

grub: T4548: Fixed configuration files order

To iterate files on ext* file systems GRUB reads their inodes one by one,
ignoring names. This breaks our configuration logic that relies on proper
loading order.

This commit adds a helper sort_inodes() that needs to be used whenever GRUB
configuration files are created. It recreates files, changing their inodes in a
way where inodes order matches alphabetical order.

(cherry picked from commit f74923202311e853b677e52cd83bae2be9605c26)

Details

Provenance
zsdcAuthored on Mar 12 2024, 10:40 PM
MergifyCommitted on Mar 13 2024, 4:35 AM
Parents
rVYOSONEXed3332f9eac3: Merge pull request #3124 from vyos/mergify/bp/sagitta/pr-3123
Branches
Loading...
Tags
Loading...

Event Timeline

Mergify <37929162+mergify[bot]@users.noreply.github.com> committed rVYOSONEX84b520dd580b: grub: T4548: Fixed configuration files order (authored by zsdc).Mar 13 2024, 4:35 AM