add snigdhaos-bootloader-grub-package

This commit is contained in:
Eshan Roy (Eshanized)
2024-04-16 23:02:10 +05:30
parent f03f14ac89
commit 84ae5d4cfa
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = grub
Target = amd-ucode
Target = intel-ucode
Target = linux
Target = linux-lts*
Target = linux-zen*
[Action]
Description = Executing grub-install
When = PostTransaction
Exec = /usr/bin/grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=SnigdhaOS

View File

@@ -0,0 +1,15 @@
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = grub
Target = amd-ucode
Target = intel-ucode
Target = linux
Target = linux-lts*
Target = linux-zen*
[Action]
Description = Executing grub-mkconfig
When = PostTransaction
Exec = /bin/sh -c "grub-mkconfig -o /boot/grub/grub.cfg"