Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kernel-install-poc
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archlinux
kernel-install-poc
Compare revisions
cdf52ba8687349c9b37a2f1cd7d25558a0ce93f7 to f9fc73a80bcf7d5877c7429e4451ccb5cbde47b6
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
archlinux/kernel-install-poc
Select target project
No results found
f9fc73a80bcf7d5877c7429e4451ccb5cbde47b6
Select Git revision
Branches
master
Swap
Target
archlinux/kernel-install-poc
Select target project
archlinux/kernel-install-poc
1 result
cdf52ba8687349c9b37a2f1cd7d25558a0ce93f7
Select Git revision
Branches
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Use seblu-x86_64-build to build
· 42588aab
Seblu
authored
1 year ago
42588aab
Bump 2024-10-07-1
· f9fc73a8
Seblu
authored
5 months ago
- Disable mkinitcpio hooks - Match kernels in modules directory
f9fc73a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
PKGBUILD
+11
-7
11 additions, 7 deletions
PKGBUILD
hook.install
+1
-0
1 addition, 0 deletions
hook.install
hook.remove
+1
-0
1 addition, 0 deletions
hook.remove
with
14 additions
and
8 deletions
.gitlab-ci.yml
View file @
f9fc73a8
...
...
@@ -3,7 +3,7 @@
makepkg
:
stage
:
build
script
:
-
seblu-build
-
seblu-
x86_64-
build
artifacts
:
name
:
$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA
expire_in
:
1 week
...
...
This diff is collapsed.
Click to expand it.
PKGBUILD
View file @
f9fc73a8
# Maintainer: Sébastien Luttringer <seblu@seblu.net>
pkgname
=(
kernel-install-hook kernel-install-compat kernel-install-grub
)
pkgver
=
20
19.03
.07
pkgver
=
20
24.10
.07
pkgrel
=
1
arch
=(
'any'
)
url
=
'https://git.seblu.net/archlinux/kernel-install-poc'
...
...
@@ -12,12 +12,12 @@ source=('hook.sh'
'50-mkinitcpio-compat.install'
'90-loaderentry-compat.install'
'95-grub-update.install'
)
md5
sums
=(
'0
36439d45eb9384296e46dabec8874fc
'
'8e60d4df3f8386a8972b5a1b25e1b680
'
'44a72eae076d1c208ffee49a07ce7e09
'
'78f5fe7e8881ff261466fb074d1e7c7
9'
'1c1b5ad42ad0a6ccae278c57deb92299
'
'cc4481b32207b8f4066971ccdaa20174
'
)
sha224
sums
=(
'0
1cff51f05c8b381117a564569a68df8e4a15fbc97a7804c5f0bb99f
'
'ae0813a7f42a11efb02c03c7ab80671ff756b17109f4481fbe756bcb
'
'32fbc4e69a3c9a6d917aed2f9e3b7a05b63a1bec8bd5002e6067b731
'
'caaec9eeb5d6616d2e9fcbfa4255d0fcddd7d43af19e95319a68388
9'
'f7aa11f7f92713734919497c5e8aa53c4786e1676bb9518c1123d56c
'
'c94240e8716f39361ad0249354cc1bb3860c7b1d898589d26bdb4755
'
)
package_kernel-install-hook
()
{
pkgdesc
=
'kernel-install hook to run when install/remove kernels'
...
...
@@ -29,6 +29,10 @@ package_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
-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
()
{
...
...
This diff is collapsed.
Click to expand it.
hook.install
View file @
f9fc73a8
...
...
@@ -3,6 +3,7 @@ Operation = Install
Operation
=
Upgrade
Type
=
File
Target
=
usr
/
lib
/
kernel
/
vmlinuz
-*
Target
=
usr
/
lib
/
modules
/*/
vmlinuz
[
Action
]
Description
=
kernel
-
install
add
...
...
This diff is collapsed.
Click to expand it.
hook.remove
View file @
f9fc73a8
...
...
@@ -2,6 +2,7 @@
Operation = Remove
Type = File
Target = usr/lib/kernel/vmlinuz-*
Target = usr/lib/modules/*/vmlinuz
[Action]
Description = kernel-install remove
...
...
This diff is collapsed.
Click to expand it.