Fix grub setup on Gentoo

After some recent reordering[0], the /boot/grub directory isn't created
early enough on Gentoo any more, let us just ensure ourselves that it is
in place when we create the grub config.

[0] I8cb34914bbbfa05521bbb71cc6637368b980358f

Change-Id: I8a84d08c3090e46b00d1d626fb984f66ea33f256
This commit is contained in:
Dr. Jens Harbott 2022-05-22 14:18:20 +02:00
parent 2f06cbc4eb
commit b774869c3b

View File

@ -68,6 +68,7 @@ else
# unconditionally.
GRUB_CFG=/boot/grub/grub.cfg
GRUBENV=/boot/grub/grubenv
mkdir -p /boot/grub
fi
# When using EFI image-based builds, particularly rhel element