This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official mkinitcpio repository".
The branch, master has been updated
via 7f81f51a5b813343fe55253f60a865e75f42be52 (commit)
via c0ae6a74f30a586c91fb4a4f2ad773f1c018d8b6 (commit)
via 9b0dfc9fbed73c9a70fa9ad7aea58c3b4f47ad0c (commit)
via d5e3f26dcdf623099c4f0fe5cceb72f34cebdc49 (commit)
via b22d1f578396cae9adec0389bc470cf321ae139f (commit)
via f949879ce6de354e02e06daa81e9257fdab07699 (commit)
via 9c1e0f3dd01151b79e9b557ea8510605616c1369 (commit)
via 0791321ed88bc480b193889c26cf4c356f1c78f7 (commit)
via 59bdecbf138936f1eb61c9616d7270d92a5deac5 (commit)
via dfa609a6ee5f75af1aa5f94d331aea60b6d076ca (commit)
via e631c842069efcd661a066e16a6b1aca3ed62817 (commit)
via 6a68249f84ff72e7f38bc0b7edae55c861fdfb3c (commit)
via bccd41015aaa55d1e661c503e74a414c86290b61 (commit)
via dfcdcf483c1b27dbb9fb91bc53f745cedba709cb (commit)
via 2adc98944dfe0c40da44b6a2d8877af68b1f2bbe (commit)
via ace8c6de2b01d7d7b23c5d6db88daeac80df9448 (commit)
via 9347ed6bee0fdbb03847238ca60a21ce7a27c40e (commit)
via e8106a8e24588c1ba65f4c563d55a4275b0e4b70 (commit)
via b85056e0096172d01ff6ce5f7c14c3ca5664a939 (commit)
from 9ae6b1f928ef11e277437740908871ab535b655d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7f81f51a5b813343fe55253f60a865e75f42be52
Merge: 9ae6b1f c0ae6a7
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Tue Oct 29 10:40:58 2019 -0300
Merge branch 'alpm-hook'
commit c0ae6a74f30a586c91fb4a4f2ad773f1c018d8b6
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Tue Oct 29 10:04:27 2019 -0300
mkinitcpio-remove: Fix the script to use -e
Changed the script to use -e for exiting in case of uncaught errors.
commit 9b0dfc9fbed73c9a70fa9ad7aea58c3b4f47ad0c
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Tue Oct 29 09:52:45 2019 -0300
libalpm/scripts: Add a remove script
Add a remove script that cleans up kernels, images and presets upon kernel
removals. It also handles mkinitcpio removal, by cleaning up presets.
commit d5e3f26dcdf623099c4f0fe5cceb72f34cebdc49
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Mon Oct 28 22:31:59 2019 -0300
Makefile: Add the remove hook and script to install
Add the remove hook and remove script as part of the installation.
commit b22d1f578396cae9adec0389bc470cf321ae139f
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Mon Oct 28 22:30:10 2019 -0300
libalpm/hooks: Change the remove hook to PreTransaction and also match on mkinitcpio-git.
Since the hook actually needs to be able to match on a kernel pkgbase, it needs to be ran
PreTransaction and not Post. Also add an additional target on mkinitcpio-git, to aid development.
commit f949879ce6de354e02e06daa81e9257fdab07699
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Mon Oct 14 23:28:04 2019 -0300
Add a remove hook
This hook triggers when a kernel is removed or when the mkinitcpio package itself is being
removed.
commit 9c1e0f3dd01151b79e9b557ea8510605616c1369
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Thu Oct 10 18:40:23 2019 -0300
Rework the install script a bit more
Added comments to make the flow more understandable. We now actively bail when
we encounter a kernel with no pkgbase. Also, if the preset does not exist yet,
and there is a .pacsave, we move that instead of copying from the template. Move
the preset check alongside the check if all was passed and finally, check if the
args array is not empty, before trying to run mkinitcpio.
commit 0791321ed88bc480b193889c26cf4c356f1c78f7
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Thu Oct 10 18:21:51 2019 -0300
Change the install hook to trigger on usr/lib/initcpio/* instead of mkinitcpio* package
Since not only mkinitcpio* packages touch /usr/lib/initcpio, switch the hook to triggering
on that.
commit 59bdecbf138936f1eb61c9616d7270d92a5deac5
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 18:34:33 2019 -0300
Change the script to abort on errors and quote the glob on compgen
commit dfa609a6ee5f75af1aa5f94d331aea60b6d076ca
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 17:08:59 2019 -0300
Rework of the script to cover all cases
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.
commit e631c842069efcd661a066e16a6b1aca3ed62817
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 17:07:01 2019 -0300
Changed the trigger to vmlinuz
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.
commit 6a68249f84ff72e7f38bc0b7edae55c861fdfb3c
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 14:51:23 2019 -0300
Rename of the hook and script
commit bccd41015aaa55d1e661c503e74a414c86290b61
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 14:50:48 2019 -0300
Change the Makefile to reflect the change in the names of the hook and script
commit dfcdcf483c1b27dbb9fb91bc53f745cedba709cb
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 14:48:42 2019 -0300
Rework the script to create the preset and install the actual kernel to /boot
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.
commit 2adc98944dfe0c40da44b6a2d8877af68b1f2bbe
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 14:43:36 2019 -0300
Change the hook name and change the name of the script called by it
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.
commit ace8c6de2b01d7d7b23c5d6db88daeac80df9448
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 14:38:25 2019 -0300
Add a preset to be used by the pacman hook to create presets on the fly
This will be used by the pacman hook to create presets on the fly for new
kernels being installed based on pkgbase.
commit 9347ed6bee0fdbb03847238ca60a21ce7a27c40e
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 00:10:13 2019 -0300
Add the pacman hook and script files to the installation
Changed the Makefile to properly install the pacman hook and script.
commit e8106a8e24588c1ba65f4c563d55a4275b0e4b70
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 00:08:21 2019 -0300
Add a mkinitcpio pacman script
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.
commit b85056e0096172d01ff6ce5f7c14c3ca5664a939
Author: Giancarlo Razzolini <grazzolini(a)archlinux.org>
Date: Wed Oct 9 00:05:33 2019 -0300
Add a new mkinitcpio pacman hook
This hook runs on mkinitcpio updates as well as on kernels containing the pkgbase
file on their modules directory. It calls the mkinitcpio script.
-----------------------------------------------------------------------
Summary of changes:
Makefile | 9 ++++++-
libalpm/hooks/60-mkinitcpio-remove.hook | 16 ++++++++++++
libalpm/hooks/90-mkinitcpio-install.hook | 12 +++++++++
libalpm/scripts/mkinitcpio-install | 44 ++++++++++++++++++++++++++++++++
libalpm/scripts/mkinitcpio-remove | 39 ++++++++++++++++++++++++++++
mkinitcpio.d/hook.preset | 14 ++++++++++
6 files changed, 133 insertions(+), 1 deletion(-)
create mode 100644 libalpm/hooks/60-mkinitcpio-remove.hook
create mode 100644 libalpm/hooks/90-mkinitcpio-install.hook
create mode 100644 libalpm/scripts/mkinitcpio-install
create mode 100644 libalpm/scripts/mkinitcpio-remove
create mode 100644 mkinitcpio.d/hook.preset
hooks/post-receive
--
The official mkinitcpio repository