%global debug_package %{nil} Name: uke-el2-kvm-probe-check Version: 0.1.0 Release: 1%{?dist} Summary: Uke native AArch64 KVM probe validation artifact License: MIT AND (GPL-2.0-only WITH Linux-syscall-note) Source0: %{name}-%{version}.tar.gz ExclusiveArch: aarch64 BuildRequires: gcc-c++ BuildRequires: binutils %description Native AArch64 build of the existing Uke KVM RAM probe with its synthetic ABI check and retained Linux 7.3.6 UAPI inputs. %prep %autosetup -p1 sha256sum --strict -c inputs.sha256 %build %{set_build_flags} c++ $CXXFLAGS -std=c++17 -Wall -Wextra -Werror -isystem linux-7.3.6-uapi \ src/kvm/probe.cpp $LDFLAGS -o uke-kvm-probe c++ $CXXFLAGS -std=c++17 -Wall -Wextra -Werror -isystem linux-7.3.6-uapi \ tests/kvm-probe-abi.cpp $LDFLAGS -o kvm-probe-synthetic %install dest=%{buildroot}%{_datadir}/%{name} install -Dm0755 uke-kvm-probe "$dest/uke-kvm-probe" install -m0644 source.commit inputs.sha256 "$dest/" %check export LC_ALL=C dest=%{buildroot}%{_datadir}/%{name} readelf -h "$dest/uke-kvm-probe" > "$dest/native-elf.txt" grep -E '^ *Machine: +AArch64$' "$dest/native-elf.txt" if "$dest/uke-kvm-probe" unexpected > cli.stdout 2> cli.stderr; then exit 1 else test "$?" = 64 fi test ! -s cli.stdout grep -F 'Usage: uke-kvm-probe' cli.stderr set +e ./kvm-probe-synthetic > "$dest/synthetic-ioctls.txt" 2>&1 status=$? set -e test "$status" = 0 grep -Fx 'Synthetic KVM ABI: three page sizes and four refusal paths passed' "$dest/synthetic-ioctls.txt" cat "$dest/synthetic-ioctls.txt" (cd "$dest" && sha256sum -- * > SHA256SUMS && sha256sum --strict -c SHA256SUMS) %files %{_datadir}/%{name} %changelog * Sat Nov 28 2026 Senemos Maintainers <75160848+MCC45TR@users.noreply.github.com> - 0.1.0-1 - Build the unchanged native probe and verify its synthetic ABI contract.