Skip to content

Commit

Permalink
gf-set-platform: use console.cfg for preferred file name
Browse files Browse the repository at this point in the history
In coreos/fedora-coreos-tracker#1671 we
decided to have this file be `console.cfg` and not `30_console.cfg`.
  • Loading branch information
dustymabe committed Feb 21, 2024
1 parent 74395f9 commit 783df37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gf-set-platform
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ fi
coreos_gf upload "${tmpd}"/bls.conf "${blscfg_path}"

if [ -n "$rewrite_grub_cmds" ]; then
# Use the new console config written out by bootupd if it exists
if [ "$(coreos_gf exists /boot/grub2/30_console.cfg)" = "true" ]; then
grub_console_config_path='/boot/grub2/30_console.cfg'
# Use the new console config written out by OSBuild coreos.platform stage if it exists
if [ "$(coreos_gf exists /boot/grub2/console.cfg)" = "true" ]; then
grub_console_config_path='/boot/grub2/console.cfg'
else
grub_console_config_path='/boot/grub2/grub.cfg'
fi
Expand Down

0 comments on commit 783df37

Please sign in to comment.