File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 33
44Summary: Hybrid image/package system
55Name: rpm-ostree
6- Version: 2025.2
6+ Version: 2025.3
77Release: 1%{?dist }
88License: LGPL-2.0 -or-later
99URL: 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}
219225rm -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
221230find $RPM_BUILD_ROOT -name ' *.la' -delete
222231
223232# I try to do continuous delivery via rpmdistro-gitoverlay while
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments