Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve pacman hook #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julienfalque
Copy link
Contributor

Fixes #7.

The hook now reacts on updated files instead of updated packages, like the mkinitcpio hook does.

This allows it to be triggered each time a kernel image is updated:

  • when a kernel package is updated (e.g. linux);
  • when a dependency is updated (e.g. systemd).

This also allows to only rebuild the kernel images that were actually updated instead of always rebuilding all. The main script now accepts kernel names as arguments for that.

Files have been renamed to be more consistent with the AUR package.

The hook now reacts on updated files instead of updated packages, like
the `mkinitcpio` hook does.

This allows it to be triggered each time a kernel image is updated:
 - when a kernel package is updated (e.g. `linux`);
 - when a dependency is updated (e.g. `systemd`).

This also allows to only rebuild the kernel images that were actually
updated instead of always rebuilding all. The main script now accepts
kernel names as arguments for that.

Files have been renamed to be more consistent with the AUR package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

systemd
1 participant