summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/myconf/cfgl_meta1
-rw-r--r--etc/pacman.d/hooks/linux-megi-mkinitcpio.hook16
2 files changed, 0 insertions, 17 deletions
diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta
index 09bd82cf..751b7357 100644
--- a/etc/myconf/cfgl_meta
+++ b/etc/myconf/cfgl_meta
@@ -34,7 +34,6 @@
755 root root //etc/pacman.d/gnupg
644 root root //etc/pacman.d/gnupg/gpg.conf
755 root root //etc/pacman.d/hooks
-644 root root //etc/pacman.d/hooks/linux-megi-mkinitcpio.hook
644 root root //etc/pacman.d/mirrorlist
777 root root //etc/resolv.conf
644 root root //etc/services
diff --git a/etc/pacman.d/hooks/linux-megi-mkinitcpio.hook b/etc/pacman.d/hooks/linux-megi-mkinitcpio.hook
deleted file mode 100644
index 24d44ab7..00000000
--- a/etc/pacman.d/hooks/linux-megi-mkinitcpio.hook
+++ /dev/null
@@ -1,16 +0,0 @@
-# Sometimes after linux-megi upgrade, reboot results into osk-sdl errors so I can't decrypt FDE.
-# Maybe it is because linux-megi does not have `/usr/lib/modules/*/vmlinuz`, this cause /usr/share/libalpm/hooks/90-mkinitcpio-install.hook to not run when linux-megi upgrade, which cause mkinitcpio not run.
-# Also, 90-linux-megi.hook does not set linux-megi as target and it seems cause it not running when linux-megi upgrade.
-# I'm not sure what's the cause of the issue. This pacman hook is just a dirty workaround, because it may cause mkinitcpio run twice.
-[Trigger]
-Type = Package
-Operation = Install
-Operation = Upgrade
-Target = linux-megi
-
-[Action]
-Description = My workaround to mkinitcpio after linux-megi upgrade...
-When = PostTransaction
-Exec = /usr/bin/mkinitcpio -P
-Depends = linux-megi
-