Skip to content

Commit

Permalink
Merge pull request #5258 from cgwalters/release
Browse files Browse the repository at this point in the history
Release 2025.3
  • Loading branch information
cgwalters authored Jan 27, 2025
2 parents 581047b + 9e24242 commit f87ee96
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion packaging/rpm-ostree.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

Summary: Hybrid image/package system
Name: rpm-ostree
Version: 2025.2
Version: 2025.3
Release: 1%{?dist}
License: LGPL-2.0-or-later
URL: https://github.com/coreos/rpm-ostree
Expand Down Expand Up @@ -39,6 +39,12 @@ BuildRequires: rust
%else
%bcond_without ostree_ext
%endif
# Integrate with kernel-install
%if 0%{?rhel} >= 10 || 0%{?fedora} > 41
%bcond_with kernel_install
%else
%bcond_without kernel_install
%endif

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

# I try to do continuous delivery via rpmdistro-gitoverlay while
Expand Down
4 changes: 3 additions & 1 deletion src/libpriv/05-rpmostree.install
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/bash
# This is the hook that has kernel-install call into rpm-ostree kernel-install
exec /usr/bin/rpm-ostree kernel-install "$@"
if test -x /usr/bin/rpm-ostree; then
exec /usr/bin/rpm-ostree kernel-install "$@"
fi

0 comments on commit f87ee96

Please sign in to comment.