Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Bouijoux committed Feb 13, 2024
1 parent dae7891 commit 55f26cc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions mageia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,6 @@ packages:
variants:
- cloud

# - packages:
# - grub2-common
# action: install
# types:
# - vm

- packages:
- kernel-server
- libproxy-pacrunner
Expand Down Expand Up @@ -255,7 +249,6 @@ actions:
urpmi grub2-efi --no-recommends
grub2-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=mageia --recheck
#target="/boot/EFI/EFI/mageia/grub.cfg"
target="/boot/grub2/grub.cfg"
grub2-mkconfig -o "${target}"
sed -i "s#root=[^ ]*#root=/dev/sda2#g" "${target}"
Expand All @@ -264,7 +257,7 @@ actions:
kver=$(ls -1 /boot/initrd-*.img | head -1 | sed -r 's#.*initrd-(.+)\.img#\1#')
dracut --kver "${kver}" -f
ls -lhR /boot
ls -lhR /boot/efi
# Wipe grub environment block
[ -f /boot/EFI/EFI/mageia/grubenv ] && rm -f /boot/EFI/EFI/mageia/grubenv
Expand Down

0 comments on commit 55f26cc

Please sign in to comment.