%global debug_package %{nil} %global _build_id_links none %global __os_install_post %{nil} %global _uke_out %{_topdir}/native-kernel-out %global uke_boot_userspace %{_topdir}/boot-userspace Name: uke-kernel-migration-check Version: 7.3.5 %if "%{version}" == "7.3.4" %global senemos_build_release 11 %else %global senemos_build_release 1 %endif %global krel %{version}-%{senemos_build_release}-unstable %global uke_audio_driver %(printf 'uke%%s' '%{version}-%{senemos_build_release}u' | tr '.' '_') Release: 3%{?dist} Summary: Linux 7.3.5 cumulative Uke source preparation verification License: GPL-2.0-only AND MIT AND BSD-3-Clause SourceLicense: GPL-2.0-only AND MIT AND BSD-3-Clause AND GPL-3.0-or-later AND Apache-2.0 AND LGPL-2.0-or-later URL: https://github.com/MCC45TR/senemos-uke-kernel-mainline Source0: linux-%{version}.tar.xz Source1: senemos-uke-adaptation-%{version}.tar.xz Source2: linux-%{version}.tar.sign Source3: linux-stable.asc Source4: senemos-native-profile-%{version}.tar.xz Source5: senemos-uke-boot-recipe.tar.xz Source6: boot-payload.json Source7: SINGLEBOOT.md Source8: singleboot-LICENSE Source190: uke-native-hardware-delivery.tar.xz Source191: uke-ssc-time-reference-delivery.tar.xz Source192: uke-hwkm-early.tar.xz Source193: uke-qtee-information.tar.xz Source200: uke-crm-passive.tar.xz ExclusiveArch: aarch64 BuildRequires: dt-schema = 2026.09-1.fc46 BuildRequires: bash bc bison flex clang llvm lld make gcc gcc-c++ perl BuildRequires: compiler-rt BuildRequires: libasan libubsan BuildRequires: nodejs BuildRequires: elfutils-libelf-devel openssl-devel openssl ncurses-devel BuildRequires: pkgconfig(libsystemd) BuildRequires: alsa-topology-utils BuildRequires: alsa-lib-devel alsa-utils dt-schema BuildRequires: rsync tar xz zstd kmod git-core jq gnupg2 dtc BuildRequires: libfdt-devel BuildRequires: python3 BuildRequires: dracut systemd systemd-udev util-linux coreutils grep sed findutils binutils ripgrep gzip cpio f2fs-tools BuildRequires: clang = 23.1.5-1.fc46 BuildRequires: llvm = 23.1.5-1.fc46 BuildRequires: lld = 23.1.5-1.fc46 # UKE_STABLE734_FULL_SOURCES_BEGIN Source201: uke-stable734.tar.xz Source202: stable734-full-qualification.json Source203: stable734-native-proof.rpm Source204: stable734-copr-public-key.asc # UKE_STABLE734_FULL_SOURCES_END # UKE_RGB_CLIENT_DEPENDENCY_BEGIN # UKE_RGB_CLIENT_DEPENDENCY_END # UKE_ABM_FULL7343_HEADER_BEGIN Source205: uke-native-abm734.tar.xz Source206: abm734-native-proof.rpm Source207: abm734-full-qualification.json # UKE_ABM_FULL7343_HEADER_END # UKE_SUPER_FULL7344_HEADER_BEGIN BuildRequires: android-tools e2fsprogs device-mapper Source208: uke-super-full734.tar.xz Source209: super734-native-proof.rpm Source210: super734-initrd-proof.rpm Source211: super734-full-qualification.json # UKE_SUPER_FULL7344_HEADER_END # UKE_DISPLAY_FULL7345_HEADER_BEGIN Source212: uke-display-full7345.tar.xz Source213: display-handoff-native-proof.rpm Source214: display-full7345-qualification.json # UKE_DISPLAY_FULL7345_HEADER_END # UKE_CAMERA_FULL7346_HEADER_BEGIN Source215: uke-camera-full7346.tar.xz Source216: camera-native22-proof.rpm Source217: camera-full7346-qualification.json # UKE_CAMERA_FULL7346_HEADER_END # UKE_CAMERA_FULL7347_HEADER_BEGIN Source218: uke-camera-full7347.tar.xz Source219: camera-native23-proof.rpm Source220: camera-full7347-qualification.json # UKE_CAMERA_FULL7347_HEADER_END # UKE_CAMERA_FULL7348_HEADER_BEGIN Source221: uke-camera-full7348.tar.xz Source222: camera-native26-proof.rpm Source223: camera-full7348-qualification.json # UKE_CAMERA_FULL7348_HEADER_END # UKE_CAMERA_FULL7349_HEADER_BEGIN Source224: uke-camera-full7349.tar.xz Source225: camera-native32-proof.rpm Source226: camera-full7349-qualification.json # UKE_CAMERA_FULL7349_HEADER_END # UKE_CAMERA_FULL73410_HEADER_BEGIN Source227: uke-camera-full73410.tar.xz Source228: camera-native33-proof.rpm Source229: camera-full73410-qualification.json # UKE_CAMERA_FULL73410_HEADER_END # UKE_CAMERA_ICC_HF_FULL734_HEADER_BEGIN Source230: uke-camera-icc-hf734.tar.xz Source231: camera-icc-hf-native34-proof.rpm # UKE_CAMERA_ICC_HF_FULL734_HEADER_END # UKE_EARLY_PLYMOUTH734_HEADER_BEGIN Source232: uke-early-plymouth-source.tar.xz Source233: early-plymouth734-proof.rpm Source234: prepare-early-plymouth-full734.sh BuildRequires: plymouth-scripts plymouth-graphics-libs plymouth-plugin-label fontconfig BuildRequires: uke-plymonth = 1.1.0-3.fc46 # UKE_EARLY_PLYMOUTH734_HEADER_END # UKE_GUNYAH_WATCHDOG_FULL734_HEADER_BEGIN Source235: uke-gunyah-watchdog-source.tar.xz Source236: gunyah-watchdog-native-proof.rpm # UKE_GUNYAH_WATCHDOG_FULL734_HEADER_END # UKE_SPEAKER_RGB_FULL734_HEADER_BEGIN Source237: uke-speaker-rgb-source.tar.xz Source238: fs19xx-stop-reset-native-proof.rpm Source239: rgb-demand-native-proof.rpm # UKE_SPEAKER_RGB_FULL734_HEADER_END # UKE_FS19XX_TELEMETRY734_HEADER_BEGIN Source240: 0033-fs19xx-bound-preset-records.patch Source241: 0034-fs19xx-prediction-readback.patch Source242: 0035-fs19xx-coil-temperature-readback.patch Source243: fs19xx-telemetry-prelink-proof.rpm Source244: apply-fs19xx-telemetry-full734.sh # UKE_FS19XX_TELEMETRY734_HEADER_END %description Verify the actual Linux 7.3.5 source and cumulative Uke preparation. The package contains a text receipt. %prep uke_prep_start=$SECONDS expected=$(tar -xOJf %{SOURCE1} senemos-adaptation/source-lock.json | jq -er .source_sha256) test "$(sha256sum %{SOURCE0} | cut -d ' ' -f1)" = "$expected" signer=$(tar -xOJf %{SOURCE1} senemos-adaptation/source-lock.json | jq -er .signer) # GnuPG agent sockets cannot use arbitrarily long RPM build paths. keyring=$(mktemp -d) trap 'gpgconf --homedir "$keyring" --kill gpg-agent; rm -rf "$keyring"' EXIT gpg --homedir "$keyring" --batch --import %{SOURCE3} xz -cd %{SOURCE0} | gpg --homedir "$keyring" --batch --status-fd=1 \ --verify %{SOURCE2} - > %{_topdir}/source-verification.txt grep -F "[GNUPG:] VALIDSIG $signer " %{_topdir}/source-verification.txt %setup -q -n linux-%{version} tar -xJf %{SOURCE1} jq -r '.patches[].path | split("/") | last' senemos-adaptation/source-lock.json > senemos-expected-patches.txt cmp senemos-expected-patches.txt senemos-adaptation/patches/series while IFS="$(printf '\t')" read -r path expected; do case "$path" in patches/*) staged="senemos-adaptation/patches/${path##*/}" ;; configs/*) staged="senemos-adaptation/configs/${path##*/}" ;; *) exit 1 ;; esac test "$(sha256sum "$staged" | cut -d ' ' -f1)" = "$expected" || exit 1 done < senemos-applied-patches.txt while IFS= read -r patch_name; do test -n "$patch_name" || continue git apply --check "senemos-adaptation/patches/$patch_name" || exit 1 git apply "senemos-adaptation/patches/$patch_name" || exit 1 printf '%s\n' "$patch_name" >> senemos-applied-patches.txt done < senemos-adaptation/patches/series cmp senemos-expected-patches.txt senemos-applied-patches.txt tar -xJf %{SOURCE4} (cd native-profile;sha256sum -c --strict --quiet SHA256SUMS) bash native-profile/tests/ssc-heading-math.sh bash native-profile/packaging/native/preflight-ssc-heading733.sh "$PWD" bash -x native-profile/prepare.sh "$PWD" mkdir -p native-generated/camera-sensors-before731 cp drivers/media/i2c/ov08d10.c drivers/media/i2c/ov13b10.c native-generated/camera-sensors-before731/ for sensor_patch in native-profile/src/camera/sensors/000[123]-*.patch; do git apply --check "$sensor_patch"; git apply "$sensor_patch"; done test "$(find native-profile/src/camera/sensors -name '000[123]-*.patch' | wc -l)" = 3 mkdir -p native-generated/camcc-baseline/drivers/clk/qcom cp drivers/clk/qcom/gdsc.c drivers/clk/qcom/gdsc.h native-generated/camcc-baseline/drivers/clk/qcom/ for patch in native-profile/src/camera/provider/000[123]-clk-qcom-gdsc-*.patch; do git apply --check "$patch"; git apply "$patch"; done test "$(find native-profile/src/camera/provider -name '000[123]-clk-qcom-gdsc-*.patch' | wc -l)" = 3 git apply --check native-profile/src/camera/provider/0004-clk-qcom-gdsc-permanent-storage.patch git apply native-profile/src/camera/provider/0004-clk-qcom-gdsc-permanent-storage.patch git apply --check native-profile/src/camera/sensors/0004-ov08d10-exposure-read-errors.patch git apply native-profile/src/camera/sensors/0004-ov08d10-exposure-read-errors.patch if grep -l GDSC_CONTROLLER_PM drivers/clk/qcom/*-*.c; then exit 1; fi cmp native-profile/src/input/nt36532-uke-spi.c drivers/input/touchscreen/nt36532-uke/nt36532-uke-spi.c tar -xJf %{SOURCE5} cmp boot-recipe/lock.json %{SOURCE6} (cd boot-recipe; jq -r '.source_assets[] | .sha256 + " " + .path' lock.json | sha256sum -c -) printf 'UKE_BUILD_STAGE source_prepare elapsed_s=%d\n' "$((SECONDS-uke_prep_start))" camss_dir=drivers/media/platform/qcom/camss mkdir -p native-generated/camss-before731/$camss_dir cp $camss_dir/camss-csiphy.c $camss_dir/camss-csiphy-3ph-1-0.c native-generated/camss-before731/$camss_dir/ patch -p1 --fuzz=0 -i native-profile/src/camera/camss/0001-media-camss-return-phy-setup-errors.patch patch -p1 --fuzz=0 -i native-profile/src/camera/camss/0002-media-camss-sm7675-resources.patch for header in csiphy-sm7675.h camss-sm7675-phy-ops.h camss-sm7675-data.h; do cp native-profile/src/camera/camss/$header $camss_dir/$header; done bash native-profile/src/camera/prepare-controller731.sh "$PWD" mkdir -p native-generated/cci-before731/drivers/i2c/busses cp drivers/i2c/busses/i2c-qcom-cci.c native-generated/cci-before731/drivers/i2c/busses/ printf '45b2dc46ea637f411a39f9352156e91d85a191b4fd3d2bfb44d5b7fc81d57693 drivers/i2c/busses/i2c-qcom-cci.c\n' | sha256sum -c --strict patch -p1 --fuzz=0 -i native-profile/src/camera/cci/0001-i2c-qcom-cci-initialize-all-completions.patch mkdir -p native-generated/at24-before731/drivers/nvmem cp drivers/nvmem/at24.c native-generated/at24-before731/drivers/nvmem/ printf 'f37ed370a86b2b850625ecd7e5e4d810b5feeb65c10f719a9e505aa8db2795a0 drivers/nvmem/at24.c\n' | sha256sum -c --strict printf '98452b4e32c41de9f74608356d2126e0743f7f229391577f0bb451bc180f2e3e Documentation/devicetree/bindings/eeprom/at24.yaml\n' | sha256sum -c --strict patch -p1 --fuzz=0 -i native-profile/src/camera/eeprom/0001-at24-readonly-vcc.patch patch -p1 --fuzz=0 -i native-profile/src/camera/eeprom/0002-at24-readonly-vcc-binding.patch install -m644 native-profile/src/camera/eeprom/at24-vcc-readonly.h drivers/nvmem/at24-vcc-readonly.h rpm -q dt-schema dt-doc-validate Documentation/devicetree/bindings/eeprom/at24.yaml cp drivers/regulator/qcom-rpmh-regulator-uke.c native-generated/rpmh-before-front731.c patch -p1 --fuzz=0 -i native-profile/src/camera/eeprom/0003-rpmh-front-vio.patch CC=clang bash native-profile/tests/o82-avr-contract.sh "$PWD" CXX=clang++ bash native-profile/tests/dpu-video-timing-contract.sh "$PWD" CC=clang bash native-profile/tests/msm-retirement-proof-contract.sh "$PWD" CC=clang bash native-profile/tests/dpu-reservation-contract.sh "$PWD" "$PWD/native-generated/dpu-reservation-before56" CC=clang bash native-profile/tests/dpu-color-topology-contract.sh "$PWD/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c" bash native-profile/tests/o82-profile-loader-contract.sh native-profile bash native-profile/tests/o82-lutbus-contract.sh bash native-profile/tests/o82-regdma-transport-contract.sh native-profile "$PWD" bash native-profile/tests/o82-atomic-contract.sh native-profile "$PWD" bash native-profile/tests/cdsp-actlr-qualify.sh "$PWD" bash native-profile/src/camera/provider/apply-gcc-config731.sh "$PWD" bash native-profile/packaging/native/prepare-queued-kernel731.sh "$PWD" native-profile bash native-profile/src/audio/apply-config-smmu731.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-client-data731.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-client-byte-ready731.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-protected-stop731.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-idle-stop731.sh "$PWD" "$PWD/native-profile" bash native-profile/src/display/apply-vrr-api731.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-stop-deadline733.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-pcm-period733.sh "$PWD" "$PWD/native-profile" bash native-profile/src/audio/apply-enable-readback733.sh "$PWD" "$PWD/native-profile" bash native-profile/src/input/apply-hall-initial-gpio733.sh "$PWD" tar -xJf %{SOURCE190} (cd native-hardware; jq -r '.source_assets[]|.sha256+" "+.path' manifests/native-hardware-delivery-20261113.json | sha256sum -c --strict --quiet -) bash native-hardware/tests/native-hardware-source-view.sh tar -xJf %{SOURCE191} (cd ssc-time-reference-full; jq -r '.source_assets[]|.sha256+" "+.path' manifests/ssc-time-reference-delivery-20261113.json | sha256sum -c --strict --quiet -) (cd ssc-time-reference-full; jq -r '.source_assets[]|.sha256+" "+.path' manifests/ssc-time-reference-20261113.json | sha256sum -c --strict --quiet -) tar -xJf %{SOURCE192} (cd hwkm-early; jq -r '.source_assets[]|.sha256+" "+.path' manifests/hwkm-early-20261115.json | sha256sum -c --strict --quiet -) tar -xJf %{SOURCE200} (cd crm-passive; jq -r '.source_assets[]|.sha256+" "+.path' manifests/camera-crm-passive-20261114.json | sha256sum -c --strict --quiet -) tar -xJf %{SOURCE193} (cd qtee-information; jq -r '.source_assets[]|.sha256+" "+.path' manifests/qtee-information-20261115.json | sha256sum -c --strict --quiet -) %build test ! -e /etc/senemos/kernel-update.conf test "$(awk '/^VERSION =/ {v=$3} /^PATCHLEVEL =/ {p=$3} /^SUBLEVEL =/ {s=$3} END {print v "." p "." s}' Makefile)" = 7.3.5 test "$(wc -l < senemos-applied-patches.txt)" = 122 grep -Fq 'smp_load_acquire(&node->hello_rcvd)' net/qrtr/af_qrtr.c grep -Fq 'kernel_release' native-profile/source-composition.json printf 'Linux 7.3.5 signature, 122 patches, cumulative RPM preparation and existing source fixtures passed.\n' > stable735-preparation.txt sha256sum Makefile net/qrtr/af_qrtr.c sound/soc/qcom/qdsp6/q6apm.c native-profile/source-composition.json > stable735-prepared.sha256 %install install -D -m644 stable735-preparation.txt %{buildroot}%{_datadir}/uke-source-checks/stable735-preparation.txt install -D -m644 stable735-prepared.sha256 %{buildroot}%{_datadir}/uke-source-checks/stable735-prepared.sha256 %files %{_datadir}/uke-source-checks/stable735-preparation.txt %{_datadir}/uke-source-checks/stable735-prepared.sha256 %changelog * Wed Nov 18 2026 Uke contributors - 7.3.5-1 - Check signed upstream Linux 7.3.5 against the full Uke preparation.