try to fix grub 3

This commit is contained in:
LinuxSquare 2023-07-17 20:52:09 +02:00
parent 52f3ed9546
commit cc2eea5338

View file

@ -16,13 +16,13 @@ system_bootloader_pkgs:
system_bootloader_install:
cmd.run:
- name: "grub-install --target=x86_64-efi --efi-directory=/efi --boot-directory=/efi/boot --bootloader-id=alpine-{{ CURRENT_SUBVOLUME_TIMESTAMP }}"
- name: "grub-install --target=x86_64-efi --bootloader-id=alpine-{{ CURRENT_SUBVOLUME_TIMESTAMP }}"
- require:
- system_bootloader_pkgs
system_bootloader_grub_dir:
file.directory:
- name: /efi/grub
- name: /boot/grub
- makedirs: true
- user: root
- group: root
@ -84,7 +84,7 @@ system_bootloader_menuentry_prepend_shebang:
system_bootloader_config:
cmd.run:
- name: 'grub-mkconfig -o /efi/grub/grub.cfg'
- name: 'grub-mkconfig -o /boot/grub/grub.cfg'
- require:
- system_bootloader_pkgs
- system_bootloader_install