You are not logged in.
Pages: 1
Hey guys,
today i played a little bit with aide in order to build a little daemon script to check the integrity of my unprotected boot partition. Since I'm kinda lazy, i want that the database to be updated automatically after i build new kernel image. Is there any possibility to get mkinitcpio run a script after finishing the image creation? Or can i specify the command that will be called after a kernel update?
A little "hack" was coming to my mind while searching. I could replace the original mkinitcpio binary with a wrapper script. But i don't want to do this if there is any other possibility.
Greetz corubba
Offline
This is outside the domain of mkinitcpio and aide. Your intuition to write a wrapper script is correct, but yes, it's hacky.
Eventually™, pacman will have hook support and you'll be able to do this more easily.
Last edited by falconindy (2012-02-20 15:50:45)
Offline
Pages: 1