[manjaro-system] pacman 5.0 hooks #29
Comments
We have to check that. Also how they work. As of now I didn't found examples for it or had no time to check ... |
I think it support eg like pre or post transaction hooks. Here are example hooks I found on arch forums. |
hooks are for admin and not for repleace pkgbuild/.install my tests : a exemple for no remove manjaro-system:
or for a real open-rc ?
exemple for write in journald :
for admin dependences :
I have 2 manjaro and 2 arch on my pc, for to have a clear grub menu:
and for my archlinux only :
|
https://github.com/udeved/manjaro-pacman-hooks I am about to test it. |
Attention, this hook is fired to all install or update (target = *)
AFTER tests, is ok we can exec |
The hook will be split up into package hooks. |
Before we introduce them, they have to been tested first. Good work so far. |
I think if we implement the hooks, the syncfirst patch could be dropped from pacman. |
without syncfirst, old hook are executed and not the new with update |
Nope, because manjaro-system would be no more. |
I have added a mhwd sample hook that triggers mhwd-gpu --setgl https://github.com/udeved/manjaro-pacman-hooks/commit/451a168144823909e83cfb8ce349843e97672aa9 We could also let it be triggered by multiple package targets. |
After reading a bit on the new pacman hooks, I think it enables new approach to manjaro-system?
If I understood correctly, the hooks are per transaction.
Could this solve some shortcommings with manjaro-system being upgraded first?
Could manjaro-system become (a) pacman hook(s)?
The text was updated successfully, but these errors were encountered: