[Trigger] Operation = Install Operation = Upgrade Type = Package Target = grub [Action] Description = "Updating GRUB..." Depends = grub When = PostTransaction Exec = /bin/sh -c 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB && grub-mkconfig -o /boot/grub/grub.cfg'