From 46fd396e6408972c37a43f44d9f8e122c4fae1ea Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Thu, 18 Apr 2019 20:56:31 -0400 Subject: [PATCH 1/2] Detect initramfs rebuilds --- pacman-hooks/80-chkboot-check.hook | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pacman-hooks/80-chkboot-check.hook b/pacman-hooks/80-chkboot-check.hook index 2a036b5..0cb1c15 100644 --- a/pacman-hooks/80-chkboot-check.hook +++ b/pacman-hooks/80-chkboot-check.hook @@ -3,6 +3,8 @@ Type = File Operation = Install Operation = Upgrade Operation = Remove +Target = usr/lib/modules/*/vmlinuz +Target = usr/lib/initcpio/* Target = boot/* [Action] From 33de05832b9d38c1f06811d671291ee517afa01a Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Thu, 18 Apr 2019 20:56:49 -0400 Subject: [PATCH 2/2] Detect initramfs rebuilds --- pacman-hooks/99-chkboot-update.hook | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pacman-hooks/99-chkboot-update.hook b/pacman-hooks/99-chkboot-update.hook index ef1edc6..c11eaf9 100644 --- a/pacman-hooks/99-chkboot-update.hook +++ b/pacman-hooks/99-chkboot-update.hook @@ -3,6 +3,8 @@ Type = File Operation = Install Operation = Upgrade Operation = Remove +Target = usr/lib/modules/*/vmlinuz +Target = usr/lib/initcpio/* Target = boot/* [Action]