From ece2560a10415f56814d264ce321dfeceb3ae828 Mon Sep 17 00:00:00 2001 From: Saya Andy Date: Mon, 7 Sep 2026 17:01:43 +0700 Subject: fix: install kernel-sp12in repo into production image --- components/boot.xml | 2 +- config.sh | 5 ++++- .../etc/yum.repos.d/kernel-sp12in.repo | 7 +++++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 root/tmp/SayaAndy/surface-pro-12-inch-linux-fedora/etc/yum.repos.d/kernel-sp12in.repo 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 0ab8a88..be5a142 100755 --- a/config.sh +++ b/config.sh @@ -436,6 +436,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//. The latter is the master copy @@ -706,7 +709,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 -- cgit v1.3.1+16