# The signed boot image of one SP11 kernel build (docs/secure-boot.md): what GRUB's chainloader starts while # Secure Boot is on. scripts/25-build-secureboot-rpms.sh packs and signs the file on the build host; this package # only carries it, next to the kernel's own files. One name for every kernel, install-only as a kernel module package # is and versioned like the kernel: dnf upgrade brings a new kernel's image as it brings the kernel, and the images of # several installed kernels coexist, each one with its kernel. The three files are sources, so that the source RPM, # which Copr rebuilds, carries them as they are. %global debug_package %{nil} %global __os_install_post %{nil} %global __strip /bin/true %global _build_id_links none %undefine _missing_build_ids_terminate_build Name: sp11-kernel-secureboot Version: 7.3.6 Release: 300.sp11.1.2%{?dist} Summary: Signed boot image of kernel 7.3.6-300.sp11.1.fc45.aarch64 for the Surface Pro 11 with Secure Boot on License: GPL-2.0-only AND LGPL-2.1-or-later ExclusiveArch: aarch64 AutoReqProv: no # The kernel package by its version and release: kernel-uki-dtbloader provides the same kernel-core-uname-r. Requires: kernel-core = 7.3.6-300.sp11.1.fc45 Provides: installonlypkg(kernel-module) Source0: sp11-secureboot.efi Source1: sp11-secureboot.der Source2: sp11-secureboot.info %description One file for the Surface Pro 11 (SKU Surface_Pro_with_5G_11th_Edition_2077) with Secure Boot on: kernel 7.3.6-300.sp11.1.fc45.aarch64 and its device tree x1e80100-microsoft-denali-oled-5g.dtb behind systemd's EFI stub 262.1-sp11.1, signed with the builder's own key (certificate SHA-256 098247df92af616bbc39ce19036b617f7ae4902855857af16dd38f72b5305718). The stub carries the SP11 patch: it starts the kernel itself and reads the initramfs from the ESP. sp11-secureboot of sp11-surface-support copies the file to the ESP and writes its GRUB entry. The certificate lies beside the file, for the enrolment as a machine owner key. Inputs: b8f3181e5c47867941a712a4ba739887cf4d4ea2f25142acfc22bdf5e7bac438 %prep %build %install install -d %{buildroot}/lib/modules/7.3.6-300.sp11.1.fc45.aarch64 install -m 0644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{buildroot}/lib/modules/7.3.6-300.sp11.1.fc45.aarch64/ # The copies on the ESP and the GRUB entry follow the package: both scriptlets hand over to the support RPM's # tool, which finds what is installed. Installed in one transaction with its kernel, the kernel's own # kernel-install run has done the work already and this is a second look. %posttrans [ -x /usr/libexec/sp11/sp11-secureboot ] && /usr/libexec/sp11/sp11-secureboot sync >/dev/null 2>&1 || : %postun [ -x /usr/libexec/sp11/sp11-secureboot ] && /usr/libexec/sp11/sp11-secureboot sync >/dev/null 2>&1 || : %files %defattr(-,root,root,-) /lib/modules/7.3.6-300.sp11.1.fc45.aarch64/sp11-secureboot.efi /lib/modules/7.3.6-300.sp11.1.fc45.aarch64/sp11-secureboot.der /lib/modules/7.3.6-300.sp11.1.fc45.aarch64/sp11-secureboot.info %changelog * Sat Nov 28 2026 SP11 build - 7.3.6-300.sp11.1.2 - Signed boot image of kernel 7.3.6-300.sp11.1.fc45.aarch64, under one package name for every kernel