aboutsummaryrefslogtreecommitdiffci
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 17:01:43 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-09-27 23:44:47 +0700
commit943408430879aac8dfe37382977491709bdbb67c (patch)
tree01af83d499351389858673cc973b070c7cd520a4
parent1e27cbfd395d7dc785534260d9a9a34f1648d7f6 (diff)
downloadkiwi-descriptions-943408430879aac8dfe37382977491709bdbb67c.tar.gz
kiwi-descriptions-943408430879aac8dfe37382977491709bdbb67c.zip
fix: install kernel-sp12in repo into production image
-rw-r--r--components/boot.xml2
-rwxr-xr-xconfig.sh5
-rw-r--r--root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/yum.repos.d/kernel-sp12in.repo7
3 files changed, 12 insertions, 2 deletions
diff --git a/components/boot.xml b/components/boot.xml
index 36d8ffa..11b48a5 100644
--- a/components/boot.xml
+++ b/components/boot.xml
@@ -50,7 +50,7 @@
set for this board (device tree, SAM RTC, SAM suspend workaround,
CAMSS/CSI-2, remoteproc attach, clk/PCI/irqchip fixes). It is built from
the sibling ../kernel-surface checkout and comes from the repository
- repositories/kernel-surface.xml adds.
+ repositories/kernel-sp12in.xml adds.
It is a single package (kernel image, every module, device trees) and
Provides kernel, kernel-core, kernel-modules, kernel-modules-core and
diff --git a/config.sh b/config.sh
index 7ecec93..b72cf38 100755
--- a/config.sh
+++ b/config.sh
@@ -461,6 +461,9 @@ fi
# Surface Pro 12" customizations
#--------------------------------------
+install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/yum.repos.d/kernel-sp12in.repo \
+ /etc/yum.repos.d/kernel-sp12in.repo
+
# Device tree. kernel-surface compiles the patched dts in-tree and installs the
# result twice: into its own module tree (dtb/qcom, from dtbs_install) and into
# /usr/lib/surface-dtb/<kver>/. The latter is the master copy
@@ -731,7 +734,7 @@ install -Dm644 /tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/dconf/profile/
dconf update
-restorecon -Rv /usr /lib /etc/systemd /etc/dconf /etc/udev/rules.d
+restorecon -Rv /usr /lib /etc/systemd /etc/dconf /etc/udev/rules.d /etc/yum.repos.d
#======================================
# Set the WSL name for ELN
diff --git a/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/yum.repos.d/kernel-sp12in.repo b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/yum.repos.d/kernel-sp12in.repo
new file mode 100644
index 0000000..24fe9f3
--- /dev/null
+++ b/root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/yum.repos.d/kernel-sp12in.repo
@@ -0,0 +1,7 @@
+[kernel-sp12in]
+name=kernel-sp12in for Fedora $releasever - $basearch
+baseurl=https://rpm.sayag.it/kernel-sp12in/fedora/$releasever/$basearch/
+enabled=1
+priority=1
+gpgcheck=0
+metadata_expire=6h