aboutsummaryrefslogtreecommitdiffci
path: root/kernel-surface.spec
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-surface.spec')
-rw-r--r--kernel-surface.spec46
1 files changed, 38 insertions, 8 deletions
diff --git a/kernel-surface.spec b/kernel-surface.spec
index e238be7..22aa947 100644
--- a/kernel-surface.spec
+++ b/kernel-surface.spec
@@ -12,12 +12,12 @@
# passes them in with --define, which takes precedence -- so keep the plain
# `%%global <name> <value>` shape, which make-sources.sh reads with awk.
%if %{undefined upstream_ver}
-%global upstream_ver 7.2.3
+%global upstream_ver 7.3-rc3
%endif
# Bumped whenever the patch tarball changes without the upstream version moving.
%if %{undefined patchset_ver}
-%global patchset_ver 2
+%global patchset_ver 1
%endif
# rpm gives - to the version-release separator, so it cannot appear in Version
@@ -25,6 +25,7 @@
# anyway -- 7.3-rc1 builds 7.3.0 -- and %%prep drops the EXTRAVERSION that would
# otherwise carry the -rcN into uname -r. A stable version passes through.
%global kversion %(echo %{upstream_ver} | sed -e 's/-rc[0-9]*$/.0/')
+%global kverextra %(echo %{upstream_ver} | cut -d'-' -f2 -s)
# The kernel's own release string: what uname -r reports and what names
# /usr/lib/modules/<...>. Matches Fedora's <version>-<release>.<arch> convention.
@@ -43,7 +44,7 @@
Name: kernel-surface
Version: %{kversion}
-Release: %{patchset_ver}%{?dist}
+Release: %(test -n "%{kverextra}" && printf "%{kverextra}.")%{patchset_ver}%{?dist}
Summary: Linux kernel for the Microsoft Surface Pro 12-inch (Snapdragon X1P-42-100)
License: GPL-2.0-only
URL: https://github.com/miasvanklei/Gentoo-overlay
@@ -56,6 +57,7 @@ Source2: base-aarch64.config
Source3: surface.config
Source4: live-image.config
Source5: no-debug-info.config
+Source6: foreign-socs.config
BuildRequires: bc
BuildRequires: binutils
@@ -170,7 +172,7 @@ CONFIG_BUILD_SALT="%{kverrel}"
EOF
ARCH=arm64 scripts/kconfig/merge_config.sh -m -O . \
- .config .release.config %{SOURCE3} %{SOURCE4} %{SOURCE5}
+ .config .release.config %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
make ARCH=arm64 olddefconfig
# merge_config.sh is only advisory about symbols it could not set, so check the
@@ -192,6 +194,7 @@ test "${kernelrelease}" = "%{kverrel}" || {
}
%build
+export KCFLAGS="-mcpu=oryon-1+nopauth"
%make_build ARCH=arm64 Image modules dtbs
%install
@@ -217,7 +220,7 @@ install -Dm644 System.map \
install -Dm644 .config \
%{buildroot}/usr/lib/modules/%{kverrel}/config
install -Dm644 arch/arm64/boot/dts/qcom/x1p42100-microsoft-sp12in.dtb \
- %{buildroot}/usr/lib/surface-dtb/x1p42100-microsoft-sp12in.dtb
+ %{buildroot}/usr/lib/surface-dtb/%{kverrel}/x1p42100-microsoft-sp12in.dtb
%post
/usr/sbin/depmod -a %{kverrel} || :
@@ -239,16 +242,43 @@ fi
%files
%license COPYING
/usr/lib/modules/%{kverrel}/
-/usr/lib/surface-dtb/x1p42100-microsoft-sp12in.dtb
+/usr/lib/surface-dtb/%{kverrel}/
%ghost %attr(0644,root,root) /boot/config-%{kverrel}
%ghost %attr(0644,root,root) /boot/initramfs-%{kverrel}.img
%ghost %attr(0600,root,root) /boot/System.map-%{kverrel}
%ghost %attr(0644,root,root) /boot/vmlinuz-%{kverrel}
%changelog
+* Fri Sep 18 2026 Saya Andy 7.3.0-rc3.1
+- Update Linux kernel to 7.3-rc3
+- Update Gentoo overlay from dbb15bd8 to 089d5857 (master)
+- Repair malformed hunk header in the overlay's Surface Pro 12in camera DTS
+ patch via sed fixups
+
+* Fri Sep 18 2026 Saya Andy 7.2.6-1
+- Update Linux kernel from 7.2.4 to 7.2.6
+
+* Wed Sep 09 2026 Saya Andy 7.2.4-2
+- Compile kernel specifically for Oryon v1 instruction set (Snapdragon X1 cpu)
+
+* Tue Sep 08 2026 Saya Andy 7.2.4-1
+- Update Linux kernel from 7.2.3 to 7.2.4
+
+* Mon Sep 07 2026 Saya Andy 7.2.3-4
+- Turn off all the ARM64 platform kernel modules besides qcom and vexpress
+ (used in qemu)
+- Fix Bayer order in rear camera resulting in color space shift
+
+* Mon Sep 07 2026 Saya Andy 7.2.3-3
+- Key the /usr/lib/surface-dtb copy of the device tree by kernel version. This
+ package is installonly, so an unqualified path there conflicts between two
+ installed releases as soon as the device tree they build differs.
+
* Sun Sep 06 2026 Saya Andy 7.2.3-2
-- Local camera patch: report the right bayer order when mirrored (fixes the black-green monochrome output issue)
-- Local surface patch: point iris at the OEM video firmware (fixes error -22 for video encoding/decoding)
+- Local camera patch: report the right bayer order when mirrored (fixes the
+ black-green monochrome output issue)
+- Local surface patch: point iris at the OEM video firmware (fixes error -22
+ for video encoding/decoding)
* Sun Sep 06 2026 Saya Andy 7.2.3-1
- Initial package: vanilla 7.2.3 with the overlay's Surface Pro 12" patch set