We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40193e2 commit a98cdadCopy full SHA for a98cdad
contrib/packaging/bootupd.spec
@@ -45,6 +45,16 @@ License: Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND BSD-3-Clause
45
46
%description -n %{crate} %{_description}
47
48
+%if 0%{?fedora} && 0%{?fedora} >= 44
49
+%posttrans -n %{crate}
50
+set -eu
51
+
52
+# On image mode, bootupd takes care of installing bootloader updates to the ESP
53
+if [ ! -e /run/ostree-booted ]; then
54
+ bootupctl backend copy-to-boot || :
55
+fi
56
+%endif
57
58
%files -n %{crate}
59
%license LICENSE
60
%license LICENSE.dependencies
0 commit comments