Compare commits

..

8 Commits

Author SHA1 Message Date
121472bc7c fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
2025-11-23 13:54:46 -06:00
eac90680e7 Revert "fixup! wip: ci: use fedoraBuild"
This reverts commit bfd826276d.
2025-11-23 13:32:14 -06:00
bfd826276d fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
2025-11-23 13:04:19 -06:00
b2937d54c2 fixup! wip: ci: use fedoraBuild 2025-11-23 12:56:34 -06:00
0ace925ec1 fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
2025-11-23 12:55:40 -06:00
49eff87281 fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
2025-11-23 11:45:21 -06:00
2c803f822e fixup! wip: ci: use fedoraBuild
All checks were successful
RPMs/gasket-driver/pipeline/head This commit looks good
2025-11-23 11:43:36 -06:00
4a4295e1a2 wip: ci: use fedoraBuild
Some checks failed
RPMs/gasket-driver/pipeline/head There was a failure building this commit
2025-11-23 11:42:55 -06:00
2 changed files with 9 additions and 18 deletions

20
ci/Jenkinsfile vendored
View File

@@ -1,4 +1,4 @@
@Library('dch')_
@Library('dch@fedora')_
properties([
pipelineTriggers([
@@ -19,15 +19,11 @@ properties([
])
try {
fedoraBuild(
architectures: ['amd64'],
podTemplate: 'ci/podTemplate.yaml',
buildContainer: 'fedora',
) { arch, fedoraVersion ->
fedoraBuild(architectures: ['amd64']) {
stage("Prepare f${fedoraVersion}/${arch}") {
checkout scm
container('fedora') {
container('build') {
sh '. ci/prepare.sh'
}
}
@@ -37,7 +33,7 @@ try {
credentialsId: 'kmod-signing-cert',
variable: 'SIGNING_KEY',
)]) {
container('fedora') {
container('build') {
sh '. ci/build.sh'
}
}
@@ -45,7 +41,7 @@ try {
stage("Sign f${fedoraVersion}/${arch}") {
when(BRANCH_NAME == 'main') {
withEnv([
withEnvironment([
"GNUPGHOME=${env.WORKSPACE_TMP}/gnupg",
]) {
withCredentials([
@@ -58,9 +54,7 @@ try {
variable: 'RPM_GPG_KEY_PASSPHRASE',
),
]) {
container('fedora') {
sh '. ci/sign.sh'
}
sh '. ci/sign.sh'
}
}
}
@@ -70,7 +64,7 @@ try {
stage("Publish f${fedoraVersion}/${arch}") {
when(BRANCH_NAME == 'main') {
container('fedora') {
container('build') {
sshagent(['jenkins-repohost']) {
sh '. ci/publish.sh'
}

View File

@@ -9,7 +9,7 @@
Name: gasket-driver
Version: 0.0.git%{git_revision}
Release: 5.k%{kernel_version}%{?dist}
Release: 3.k%{kernel_version}%{?dist}
Summary: The Coral Gasket Driver allows usage of the Coral EdgeTPU on Linux systems
License: GPL-2.0
@@ -19,8 +19,8 @@ Patch0: 0001-core-Omit-no_llseek-reference.patch
Patch1: 0002-Update-gasket_page_table.c-Fix-MODULE_IMPORT_NS.patch
BuildRequires: kernel-devel
Provides: installonlypkg(kernel-module)
Requires: kernel-core == %{kernel_version}
Conflicts: kernel-core > %{kernel_version}
Requires(post): kmod
%description
@@ -50,9 +50,6 @@ depmod -a %{kernel_ver}.%{_arch}
%changelog
* Sun Nov 23 2025 Dustin C. Hatch <dustin@hatch.name> [0.0.git5815ee3-4]
- Provide installonlypkg(kernel-module)
* Sun Nov 16 2025 Dustin C. Hatch <dustin@hatch.name> [0.0.git5815ee3-2]
- Include kernel version in release tag