Age | Commit message (Collapse) | Author | Files | Lines |
|
mkinitcpio* package
Since not only mkinitcpio* packages touch /usr/lib/initcpio, switch the hook to triggering
on that.
|
|
|
|
The script did not work properly for the cases where more than one kernel was being
installed, or only when mkinitcpio without a kernel is installed. Now the script runs
properly on all cases.
|
|
All the kernels install the kernel to the file vmlinuz, so triggering on it
makes more sense. The pkgbase file is still used on the script.
|
|
|
|
The script now will use a prepared preset to create presets when new kernels are installed.
It will also always copy the vmlinuz kernel to /boot.
|
|
The hook was renamed to reflect it will be triggered only on install (or upgrades).
This is because we will have a hook/script pair running on kernels removals as well.
|
|
This script runs on mkinitcpio package updates as well as on kernel updates that
have the pkgbase file on their modules directory. It will use the contents of that
file to determine which preset to run or, in case not pkgbase file is passed to it,
it will run all presets with -P.
|
|
This hook runs on mkinitcpio updates as well as on kernels containing the pkgbase
file on their modules directory. It calls the mkinitcpio script.
|