diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-13 05:34:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 05:34:12 +0100 |
commit | f2038cd6f23f0114452688a5b66145c531982249 (patch) | |
tree | b224959ee3628ff4fc939e3bf550757df24aac9f /src/op_mode | |
parent | 46cdd46215844ff99fa50462367d6040d8af10d3 (diff) | |
parent | f74923202311e853b677e52cd83bae2be9605c26 (diff) | |
download | vyos-1x-f2038cd6f23f0114452688a5b66145c531982249.tar.gz vyos-1x-f2038cd6f23f0114452688a5b66145c531982249.zip |
Merge pull request #3126 from zdc/T4548-circinus
grub: T4548: Fixed GRUB configuration files order
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/image_installer.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index 85ebd19ba..b0567305a 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -786,6 +786,10 @@ def install_image() -> None: grub.install(install_target.name, f'{DIR_DST_ROOT}/boot/', f'{DIR_DST_ROOT}/boot/efi') + # sort inodes (to make GRUB read config files in alphabetical order) + grub.sort_inodes(f'{DIR_DST_ROOT}/{grub.GRUB_DIR_VYOS}') + grub.sort_inodes(f'{DIR_DST_ROOT}/{grub.GRUB_DIR_VYOS_VERS}') + # umount filesystems and remove temporary files if is_raid_install(install_target): cleanup([install_target.name], |