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.spec45
1 files changed, 4 insertions, 41 deletions
diff --git a/kernel-surface.spec b/kernel-surface.spec
index ee6e132..dc29ae3 100644
--- a/kernel-surface.spec
+++ b/kernel-surface.spec
@@ -12,7 +12,7 @@
# 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.4
+%global upstream_ver 7.2.3
%endif
# Bumped whenever the patch tarball changes without the upstream version moving.
@@ -56,7 +56,6 @@ Source2: base-aarch64.config
Source3: surface.config
Source4: live-image.config
Source5: no-debug-info.config
-Source6: foreign-socs.config
BuildRequires: bc
BuildRequires: binutils
@@ -72,7 +71,6 @@ BuildRequires: gzip
BuildRequires: hostname
BuildRequires: kmod
BuildRequires: make
-BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: patch
BuildRequires: perl-interpreter
@@ -144,18 +142,6 @@ for patchdir in patches/*/; do
done
rm -rf patches
-# The camera series calls devm_phy_get_by_of_node(), which only the phy series
-# adds -- and the overlay's own 7.2.3 ebuild left phy out of its loop while
-# shipping the camera patch that needs it. Applying one without the other
-# compiles for twenty-odd minutes before failing in camss-csiphy.c, so assert
-# the declaration is here while it is still cheap to say so.
-grep -q 'devm_phy_get_by_of_node' include/linux/phy/phy.h || {
- echo "ERROR: include/linux/phy/phy.h does not declare devm_phy_get_by_of_node."
- echo "The camera patches need the phy ones; check phy is in patch-order.txt"
- echo "and that it exists at the pinned overlay commit."
- exit 1
-}
-
# Fold the -rcN suffix into the package release instead of carrying it in
# uname -r, so the module directory is named the way Fedora names it.
sed -i 's/^EXTRAVERSION[[:space:]]*=.*/EXTRAVERSION =/' Makefile
@@ -171,7 +157,7 @@ CONFIG_BUILD_SALT="%{kverrel}"
EOF
ARCH=arm64 scripts/kconfig/merge_config.sh -m -O . \
- .config .release.config %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
+ .config .release.config %{SOURCE3} %{SOURCE4} %{SOURCE5}
make ARCH=arm64 olddefconfig
# merge_config.sh is only advisory about symbols it could not set, so check the
@@ -193,7 +179,6 @@ test "${kernelrelease}" = "%{kverrel}" || {
}
%build
-export KCFLAGS="-mcpu=oryon-1+nopauth"
%make_build ARCH=arm64 Image modules dtbs
%install
@@ -219,7 +204,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/%{kverrel}/x1p42100-microsoft-sp12in.dtb
+ %{buildroot}/usr/lib/surface-dtb/x1p42100-microsoft-sp12in.dtb
%post
/usr/sbin/depmod -a %{kverrel} || :
@@ -241,34 +226,12 @@ fi
%files
%license COPYING
/usr/lib/modules/%{kverrel}/
-/usr/lib/surface-dtb/%{kverrel}/
+/usr/lib/surface-dtb/x1p42100-microsoft-sp12in.dtb
%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
-* 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)
-
* 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