diff --git a/README.md b/README.md index e0331d2..111dd1b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,17 @@ -# Pacman-Hooks + -My current pacman hooks. Place this files in /etc/pacman.d/hooks on arch-based distros to work. +# Arch-Config +In this repository I will track some of the customizings I did on my Arch System +At this time most changes are missing. I will try to change this over time. + +## Pacman-Hooks + +My current pacman hooks Dependencies: [pacman-contrib](https://archlinux.org/packages/community/x86_64/pacman-contrib/) -There is very much missing. I will document this another time. \ No newline at end of file +## Dracut + +I use my system with systemd-boot and UKIs. To generate them I use dracut-ukify. Just install this package and remove mkinitcpio. +You should test this once with pacman -S linux. If the next boot fails fallback to your old boot entries for debugging. + diff --git a/paccache.hook b/paccache.hook deleted file mode 100644 index d295299..0000000 --- a/paccache.hook +++ /dev/null @@ -1,11 +0,0 @@ -[Trigger] -Operation = Remove -Operation = Install -Operation = Upgrade -Type = Package -Target = * - -[Action] -Description = Keep the last cache of currently installed packages -When = PostTransaction -Exec = /usr/bin/paccache -r diff --git a/paccache2.hook b/paccache2.hook deleted file mode 100644 index f3ce596..0000000 --- a/paccache2.hook +++ /dev/null @@ -1,11 +0,0 @@ -[Trigger] -Operation = Remove -Operation = Install -Operation = Upgrade -Type = Package -Target = * - -[Action] -Description = Delete cache of uninstalled packages -When = PostTransaction -Exec = /usr/bin/paccache -ruk1 diff --git a/unneeded.hook b/unneeded.hook deleted file mode 100644 index 732ea5a..0000000 --- a/unneeded.hook +++ /dev/null @@ -1,10 +0,0 @@ -[Trigger] -Operation = Remove -Operation = Upgrade -Type = Package -Target = * - -[Action] -Description = Possibly unneeded packages (e.g. dependency cycles) -When = PostTransaction -Exec = /usr/bin/bash -c "(pacman -Qqd | pacman -Rsup - && echo 'uninstall all with »pacman -Qqd | pacman -Rsu -«') || echo '==> None found'"