Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • archlinux/kernel-install-poc
1 result
Show changes
Commits on Source (2)
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
makepkg: makepkg:
stage: build stage: build
script: script:
- seblu-build - seblu-x86_64-build
artifacts: artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA
expire_in: 1 week expire_in: 1 week
......
# Maintainer: Sébastien Luttringer <seblu@seblu.net> # Maintainer: Sébastien Luttringer <seblu@seblu.net>
pkgname=(kernel-install-hook kernel-install-compat kernel-install-grub) pkgname=(kernel-install-hook kernel-install-compat kernel-install-grub)
pkgver=2019.03.07 pkgver=2024.10.07
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url='https://git.seblu.net/archlinux/kernel-install-poc' url='https://git.seblu.net/archlinux/kernel-install-poc'
...@@ -12,12 +12,12 @@ source=('hook.sh' ...@@ -12,12 +12,12 @@ source=('hook.sh'
'50-mkinitcpio-compat.install' '50-mkinitcpio-compat.install'
'90-loaderentry-compat.install' '90-loaderentry-compat.install'
'95-grub-update.install') '95-grub-update.install')
md5sums=('036439d45eb9384296e46dabec8874fc' sha224sums=('01cff51f05c8b381117a564569a68df8e4a15fbc97a7804c5f0bb99f'
'8e60d4df3f8386a8972b5a1b25e1b680' 'ae0813a7f42a11efb02c03c7ab80671ff756b17109f4481fbe756bcb'
'44a72eae076d1c208ffee49a07ce7e09' '32fbc4e69a3c9a6d917aed2f9e3b7a05b63a1bec8bd5002e6067b731'
'78f5fe7e8881ff261466fb074d1e7c79' 'caaec9eeb5d6616d2e9fcbfa4255d0fcddd7d43af19e95319a683889'
'1c1b5ad42ad0a6ccae278c57deb92299' 'f7aa11f7f92713734919497c5e8aa53c4786e1676bb9518c1123d56c'
'cc4481b32207b8f4066971ccdaa20174') 'c94240e8716f39361ad0249354cc1bb3860c7b1d898589d26bdb4755')
package_kernel-install-hook() { package_kernel-install-hook() {
pkgdesc='kernel-install hook to run when install/remove kernels' pkgdesc='kernel-install hook to run when install/remove kernels'
...@@ -29,6 +29,10 @@ package_kernel-install-hook() { ...@@ -29,6 +29,10 @@ package_kernel-install-hook() {
install -m644 hook.install "$pkgdir"/usr/share/libalpm/hooks/90-kernel-install.hook install -m644 hook.install "$pkgdir"/usr/share/libalpm/hooks/90-kernel-install.hook
install -m644 hook.remove "$pkgdir"/usr/share/libalpm/hooks/90-kernel-remove.hook install -m644 hook.remove "$pkgdir"/usr/share/libalpm/hooks/90-kernel-remove.hook
install -Dm755 hook.sh "$pkgdir"/usr/bin/kernel-install-hook install -Dm755 hook.sh "$pkgdir"/usr/bin/kernel-install-hook
# disable mkinitcpio hooks which conflicts with kernel-install
install -dm755 "$pkgdir"/etc/pacman.d/hooks
ln -s /dev/null "$pkgdir"/etc/pacman.d/hooks/60-mkinitcpio-remove.hook
ln -s /dev/null "$pkgdir"/etc/pacman.d/hooks/90-mkinitcpio-install.hook
} }
package_kernel-install-compat() { package_kernel-install-compat() {
......
...@@ -3,6 +3,7 @@ Operation = Install ...@@ -3,6 +3,7 @@ Operation = Install
Operation = Upgrade Operation = Upgrade
Type = File Type = File
Target = usr/lib/kernel/vmlinuz-* Target = usr/lib/kernel/vmlinuz-*
Target = usr/lib/modules/*/vmlinuz
[Action] [Action]
Description = kernel-install add Description = kernel-install add
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
Operation = Remove Operation = Remove
Type = File Type = File
Target = usr/lib/kernel/vmlinuz-* Target = usr/lib/kernel/vmlinuz-*
Target = usr/lib/modules/*/vmlinuz
[Action] [Action]
Description = kernel-install remove Description = kernel-install remove
......