aboutsummaryrefslogtreecommitdiffci
path: root/repositories/kernel-surface.xml
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 04:50:59 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 04:50:59 +0700
commit49428abac50976f943806aa2b116597328148ddc (patch)
treee0d8a2d5fb1aa758738551345fd3c8c6d0d67fb3 /repositories/kernel-surface.xml
parent1075e725492e482d826bfcf222e6f2f6644f5d4b (diff)
downloadkiwi-descriptions-49428abac50976f943806aa2b116597328148ddc.tar.gz
kiwi-descriptions-49428abac50976f943806aa2b116597328148ddc.zip
DRAFT: feat: use kernel tailored for surface pro 12-inch
Diffstat (limited to 'repositories/kernel-surface.xml')
-rw-r--r--repositories/kernel-surface.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/repositories/kernel-surface.xml b/repositories/kernel-surface.xml
new file mode 100644
index 0000000..f92c1b0
--- /dev/null
+++ b/repositories/kernel-surface.xml
@@ -0,0 +1,31 @@
+<image>
+ <!-- Surface Pro 12" (Snapdragon X1P-42-100): the patched kernel.
+ Built from the sibling ../kernel-surface checkout (see that directory's
+ README.md). components/boot.xml installs kernel-surface by name and
+ ignores Fedora's kernel packages, so this repository is not optional:
+ without it the image cannot depsolve at all.
+
+ priority="1" beats the fedora/updates repositories, which carry no
+ priority and therefore sit at dnf's default 99 (lower number wins).
+
+ A local directory repository, which is what a plain `createrepo_c` over
+ a directory of RPMs produces. In CI the Jenkinsfile fills it from the
+ dist-sayagit-fedora-rpm B2 bucket that the kernel-surface pipeline
+ publishes to, then runs createrepo_c, all before kiwi starts. The
+ bucket stays private, so the RPM is pulled with credentials instead of
+ this description pointing at a public URL. By hand:
+
+ sudo mkdir -p /var/lib/kernel-surface-repo
+ sudo cp ~/rpmbuild/RPMS/aarch64/kernel-surface-*.rpm \
+ /var/lib/kernel-surface-repo/
+ sudo createrepo_c /var/lib/kernel-surface-repo
+
+ The path has to exist on the build host before kiwi starts; kiwi binds
+ a dir:// repository into the image root at the same path. It has no
+ <signing> element, so kiwi configures it with gpgcheck off. Changing
+ the path here means changing KERNEL_SURFACE_REPO in the Jenkinsfile
+ too. -->
+ <repository type="rpm-md" alias="kernel-surface" priority="1">
+ <source path="dir:///var/lib/kernel-surface-repo"/>
+ </repository>
+</image>