Skip to content

Commit 629918d

Browse files
committed
grub: Support including ignition/greenboot and other
This will make it trivial to drop in the other behaviors. Signed-off-by: Colin Walters <[email protected]>
1 parent 0267f88 commit 629918d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/grub2/grub-static.cfg

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,18 @@ function load_video {
5959
fi
6060
}
6161

62-
# tracker: https://github.com/coreos/fedora-coreos-tracker/issues/805
63-
if [ -f $prefix/platform.cfg ]; then
64-
source $prefix/platform.cfg
62+
if [ -f $prefix/ignition.cfg ]; then
63+
source $prefix/ignition.cfg
64+
fi
65+
if [ -f $prefix/greenboot.cfg ]; then
66+
source $prefix/greenboot.cfg
67+
fi
68+
# And two arbitrary other files
69+
if [ -f $prefix/platform01.cfg ]; then
70+
source $prefix/platform01.cfg
71+
fi
72+
if [ -f $prefix/platform02.cfg ]; then
73+
source $prefix/platform02.cfg
6574
fi
6675

6776
if [ x$feature_timeout_style = xy ] ; then

0 commit comments

Comments
 (0)