File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Summary: Bootloader updater
99
1010License: Apache-2.0
1111URL: https://github.com/coreos/bootupd
12- Source0: %{crates_source }
12+ Source0: %{url }/releases/download/v%{ version }/bootupd-%{ version }.tar.zstd
1313Source1: %{url }/releases/download/v%{version }/bootupd-%{version }-vendor.tar.zstd
1414%if 0%{?fedora } || 0%{?rhel } >= 10
1515ExcludeArch: %{ix86}
@@ -45,6 +45,16 @@ License: Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND BSD-3-Clause
4545
4646%description -n %{crate } %{_description }
4747
48+ %if 0%{?fedora } && 0%{?fedora } >= 44
49+ %posttrans -n %{crate }
50+ set -eu
51+
52+ # Only copy files to ESP on package mode
53+ if [ ! -e /run/ostree-booted ]; then
54+ bootupctl backend copy-to-boot || :
55+ fi
56+ %endif
57+
4858%files -n %{crate }
4959%license LICENSE
5060%license LICENSE.dependencies
You can’t perform that action at this time.
0 commit comments