Backport https://github.com/coreos/bootupd/pull/1074

Resolves: #RHEL-168652
This commit is contained in:
Joseph Marrero Corchado 2026-04-17 19:19:22 -04:00
parent 7200a6e742
commit bf7705a2a5
4 changed files with 3039 additions and 4 deletions

2
.gitignore vendored
View File

@ -39,3 +39,5 @@
/bootupd-0.2.29-vendor.tar.zstd
/bootupd-0.2.31.crate
/bootupd-0.2.31-vendor.tar.zstd
/bootupd-0.2.32.crate
/bootupd-0.2.32-vendor.tar.zstd

3015
backport-pr1068-pr1074.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,8 @@
%global crate bootupd
Name: rust-%{crate}
Version: 0.2.31
Release: 1%{?dist}
Version: 0.2.32
Release: 2%{?dist}
Summary: Bootloader updater
License: Apache-2.0
@ -15,6 +15,19 @@ Source1: %{url}/releases/download/v%{version}/bootupd-%{version}-vendor.t
ExcludeArch: %{ix86}
%endif
# Backport from upstream:
# PR#1068 - Add support for installing to devices with multiple parents
# https://github.com/coreos/bootupd/pull/1068
# PR#1074 - powerpc: Fix broken build
# https://github.com/coreos/bootupd/pull/1074
# Includes build fix for CommandRunExt API changes
# NOTE: This patch modifies Cargo.lock and introduces new crate dependencies,
# so Source1 (vendor tarball) must be regenerated to match. If this patch is
# dropped, the vendor tarball must be reverted to the original upstream one.
# Vendor tarball SHA512 with patch: 0b593933211c
# Vendor tarball SHA512 without patch: f93e299c4842
Patch0: backport-pr1068-pr1074.patch
BuildRequires: git
# For now, see upstream
BuildRequires: make
@ -72,6 +85,11 @@ License: Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND BSD-3-Clause
%{__make} install-systemd-unit DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
%changelog
* Fri Apr 17 2026 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.32-2
- Backport https://github.com/coreos/bootupd/pull/1068
- Backport https://github.com/coreos/bootupd/pull/1074
Resolves: #RHEL-168652
* Thu Aug 21 2025 HuijingHei <hhei@redhat.com> - 0.2.29-1
Resolves: #RHEL-110494

View File

@ -1,2 +1,2 @@
SHA512 (bootupd-0.2.31.crate) = d05bf21f904e8443b2271f80f7f3b909d5c4607379cfdf4607b8595b5153de6e702a366cd123771e9e81df7f889b568686357fee4af5bf6e73689c00555db16f
SHA512 (bootupd-0.2.31-vendor.tar.zstd) = 7af4202448a3336c818c0c42a81d0da3806ce57b710d9570e6800a7414150a3c96d3e7b66417cfef776f106dbdce3660768f725606f908be9153d1feb643192d
SHA512 (bootupd-0.2.32.crate) = a67714ebfbbbf0638611dd878a448c8c243017c39838235f56de63a2979b6d554b9a45e76a4b9b23541e6ddc0ea8165d851fb2d844651bed6861b70acc05b7b6
SHA512 (bootupd-0.2.32-vendor.tar.zstd) = 0b593933211c17bd7881051283bc1de0fcad9a6f1556a84e201ade3700df1a9e4369c286799277e9c4c43cc7f3c0b6c1c7d173cda14588d42e349754dcec3274