2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-13 17:19:29 +00:00

Fix grub fallback path for more grub

This commit is contained in:
Jarrod Johnson 2024-07-12 16:48:46 -04:00
parent c0cc673c63
commit 7a3e1dfde3

View File

@ -184,7 +184,7 @@ def update_boot_linux(profiledir, profile, label):
if not grubcfgpath:
grubcfgpath = [
profiledir + '/boot/efi/boot/grub.cfg',
profiledir + '/boot/boot/grub.cfg'
profiledir + '/boot/boot/grub/grub.cfg'
]
for grubcfgpth in grubcfgpath:
os.makedirs(os.path.dirname(grubcfgpth), 0o755, exist_ok=True)