Skip to content

Commit f87ee96

Browse files
authored
Merge pull request #5258 from cgwalters/release
Release 2025.3
2 parents 581047b + 9e24242 commit f87ee96

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

packaging/rpm-ostree.spec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Summary: Hybrid image/package system
55
Name: rpm-ostree
6-
Version: 2025.2
6+
Version: 2025.3
77
Release: 1%{?dist}
88
License: LGPL-2.0-or-later
99
URL: https://github.com/coreos/rpm-ostree
@@ -39,6 +39,12 @@ BuildRequires: rust
3939
%else
4040
%bcond_without ostree_ext
4141
%endif
42+
# Integrate with kernel-install
43+
%if 0%{?rhel} >= 10 || 0%{?fedora} > 41
44+
%bcond_with kernel_install
45+
%else
46+
%bcond_without kernel_install
47+
%endif
4248

4349
# This is copied from the libdnf spec
4450
%if 0%{?rhel} && ! 0%{?centos}
@@ -218,6 +224,9 @@ sed -i -e '/https:\/\//d' cargo-vendor.txt
218224
%if %{without ostree_ext}
219225
rm -vrf $RPM_BUILD_ROOT/usr/libexec/libostree/ext
220226
%endif
227+
%if %{without kernel_install}
228+
rm -vr $RPM_BUILD_ROOT/usr/lib/kernel/install.d
229+
%endif
221230
find $RPM_BUILD_ROOT -name '*.la' -delete
222231

223232
# I try to do continuous delivery via rpmdistro-gitoverlay while

src/libpriv/05-rpmostree.install

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/usr/bin/bash
22
# This is the hook that has kernel-install call into rpm-ostree kernel-install
3-
exec /usr/bin/rpm-ostree kernel-install "$@"
3+
if test -x /usr/bin/rpm-ostree; then
4+
exec /usr/bin/rpm-ostree kernel-install "$@"
5+
fi

0 commit comments

Comments
 (0)