You are not logged in.
Simple as that,I just want pacman to ask before auto run dkms and raminitfs hooks after each update of kernel or related package (systemd for example)
Is this feature included in libalpm ?
Last edited by Halano (2024-08-06 12:32:06)
.: HalanoSiblee The Smart Moth :.
Offline
No, and that's a design decision.
Pacman hooks are not interactive.
If the conditions set for the hook are met, the hook will be run.
Pacman-contrib includes checkupdates .
Running that will allow you to see what updates there are without doing partial updates .
Just choose time/place when you do have resources to run pacman -Syu/dkms / initramfs rebuid etc.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Alright thanks (: , I mean it should be interactive for reasons like that but my problem is not big of deal ,I keep with the defaults.
Last edited by Halano (2024-08-05 03:20:48)
.: HalanoSiblee The Smart Moth :.
Offline
If you're satisfied with the answer, please prepend [Solved] to the thread title
(edit first post, you may have to shorten it a bit be able to add [Solved] )
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
why would you not want to run the dkms or mkinitcpio hooks when they are logically necessary? Do you want to abort the update because you can't take the time for it (as mentioned, checkupdates ahead of time, or reading the changed packages and aborting the -Syu to do it again at a more convenient time are the proper options here) or would you want to delay just the rebuilds until it's more convenient (which can and will have consequences of an unbootable system, if you forget to do it before rebooting)?
Offline
why would you not want to run the dkms or mkinitcpio
I've multiple kernel's with different initramfs and different modules
each one need it's own manual work
what pacman does it automatically run dksm install the modules for all detected kernels and auto build ramfs img
as I said before
my problem is not big of deal
I stick with the default for now,Thanks for help.
.: HalanoSiblee The Smart Moth :.
Offline