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:
parent
c0cc673c63
commit
7a3e1dfde3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user