Add update-grub script

This commit is contained in:
2025-08-23 19:40:53 +03:00
parent f5df158bbf
commit f77aca86b8
4 changed files with 8 additions and 2 deletions
+3
View File
@@ -56,6 +56,9 @@ package() {
# Install grub default file
install -Dm644 "$BPM_WORKDIR"/grub.default "$BPM_OUTPUT"/etc/default/grub
# Install update-grub script
install -Dm755 "$BPM_WORKDIR"/update-grub.sh "$BPM_OUTPUT"/usr/sbin/update-grub
# Install BPM hook
install -Dm644 "$BPM_WORKDIR"/20-grub.bpmhook "$BPM_OUTPUT"/var/lib/bpm/hooks/20-grub.bpmhook