Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Gerd Hoffmann
26d04d5f4b enable tmt tests 2026-01-16 10:50:09 +01:00
Gerd Hoffmann
562ed2df4a update to version 26.1 2026-01-16 10:50:09 +01:00
Gerd Hoffmann
9217da6d89 update to version 25.12 2025-12-04 13:44:00 +01:00
Gerd Hoffmann
7e75bd945a update to version 25.11 2025-11-20 08:20:53 +01:00
Gerd Hoffmann
d4ab715553 update to version 25.10 2025-11-20 08:20:53 +01:00
Cole Robinson
32a5455b91 Fix --without check
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2025-11-20 08:20:53 +01:00
Gerd Hoffmann
82b74c1bd6 update to version 25.9 2025-09-22 15:55:33 +02:00
Gerd Hoffmann
d4c592056e update to version 25.8 2025-08-06 14:58:53 +02:00
6 changed files with 49 additions and 8 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

13
downgrade-dialoguer.patch Normal file
View file

@ -0,0 +1,13 @@
diff --git a/efi-tools/Cargo.toml b/efi-tools/Cargo.toml
index 383ea77..68b8356 100644
--- a/efi-tools/Cargo.toml
+++ b/efi-tools/Cargo.toml
@@ -33,7 +33,7 @@ log.workspace = true
stderrlog.workspace = true
uguid.workspace = true
-dialoguer = "0.12"
+dialoguer = "0.11"
glob = "0.3"
virtfw-libefi = { workspace = true, features = [ "std", "sbdata", "x509" ] }

8
gating.yaml Normal file
View file

@ -0,0 +1,8 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}

6
plans.fmf Normal file
View file

@ -0,0 +1,6 @@
summary: run tests from distgit tarball
discover:
how: fmf
dist-git-source: true
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (virt-firmware-rs-v25.7.1.tar.gz) = da653a3e1e3e17a11d5568def33456961f29e36a4a3c8bfbc72e5a0887deeda26130a532f66d46a4dfdc53a3e7b4a4e6cdb6e5d3555499b30eb8f56f0ea3d75f
SHA512 (virt-firmware-rs-v26.1.tar.gz) = ed096f21dee8f642ab85b9eb4d9c5b5e81af7a48ce0abca77dd4db4ffe142e4cd01eae3d3a5dde48ab226cb0e0e73af269570da078983682c6eac687ef46cf2c

View file

@ -18,7 +18,7 @@ BuildRequires: rust-std-static-x86_64-unknown-uefi
%endif
Name: virt-firmware-rs
Version: 25.7.1
Version: 26.1
Release: %autorelease
Summary: Tools for EFI and virtual machine firmware
@ -38,6 +38,9 @@ License: %{shrink:
URL: https://gitlab.com/kraxel/virt-firmware-rs
Source: https://gitlab.com/kraxel/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
Patch1: downgrade-dialoguer.patch
ExclusiveArch: x86_64 aarch64 riscv64
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: pkgconfig(libudev)
@ -59,20 +62,21 @@ firmware. This package has EFI applications for %{efiarch}.
%prep
%autosetup -n %{name}-v%{version} -p1
%cargo_prep
# drop unused packages from workspace to reduce dependencies.
sed -i Cargo.toml -e '/varstore/d'
sed -i Cargo.toml -e '/mefisto/d'
%if %{without efi_apps}
sed -i Cargo.toml -e '/efi-apps/d'
%endif
%generate_buildrequires
%cargo_generate_buildrequires
%cargo_generate_buildrequires -f std,json,pem,udev
%build
%cargo_prep
%cargo_build -- --package virtfw-efi-tools --features udev
%cargo_build -- --package virtfw-efi-tools
%cargo_build -- --package virtfw-igvm-tools
%cargo_build -- --package virtfw-varstore --features std,json,pem
%if %{with efi_apps}
%cargo_build -- --package virtfw-efi-apps --target $(uname -m)-unknown-uefi
%endif
@ -85,9 +89,11 @@ install -d %{buildroot}%{_bindir}
install -v -m 755 target/rpm/generate-boot-csv %{buildroot}%{_bindir}
install -v -m 755 target/rpm/list-sb-vars %{buildroot}%{_bindir}
install -v -m 755 target/rpm/mini-bootcfg %{buildroot}%{_bindir}
install -v -m 755 target/rpm/virt-fw-vars-setup %{buildroot}%{_bindir}
install -v -m 755 target/rpm/uefi-boot-menu %{buildroot}%{_bindir}/uefi-boot-menu-rs
install -v -m 755 target/rpm/igvm-inspect %{buildroot}%{_bindir}
install -v -m 755 target/rpm/igvm-wrap %{buildroot}%{_bindir}
install -v -m 755 target/rpm/igvm-update %{buildroot}%{_bindir}
%if %{with efi_apps}
# efi-apps
install -d %{buildroot}%{_datadir}/%{name}/%{efiarch}
@ -97,14 +103,18 @@ install -v -m 644 target/*-unknown-uefi/rpm/*.efi %{buildroot}%{_datadir}/%{name
for dir in efi-apps efi-tools igvm-tools; do
cp -v ${dir}/README.md README.${dir}.md
done
# man pages
mkdir -p %{buildroot}%{_mandir}/man1
for app in virt-fw-vars-setup igvm-inspect igvm-wrap igvm-update; do
%{buildroot}%{_bindir}/${app} --manpage > %{buildroot}%{_mandir}/man1/${app}.1
done
%if %{with check}
%check
%ifarch s390x
echo "skip tests on bigendian"
%else
%cargo_test -- --package virtfw-libefi
%cargo_test -- --package virtfw-efi-tools --features udev
%cargo_test -- --package virtfw-igvm-tools
%cargo_test -- --package virtfw-varstore
%endif
%files
@ -115,9 +125,12 @@ echo "skip tests on bigendian"
%{_bindir}/generate-boot-csv
%{_bindir}/list-sb-vars
%{_bindir}/mini-bootcfg
%{_bindir}/virt-fw-vars-setup
%{_bindir}/uefi-boot-menu-rs
%{_bindir}/igvm-inspect
%{_bindir}/igvm-wrap
%{_bindir}/igvm-update
%{_mandir}/man1/*
%if %{with efi_apps}
%files -n %{name}-%{efiarch}