chore: Update bootc

This commit is contained in:
Kyle Gospodnetich 2024-12-24 19:20:04 -08:00
parent c185736b39
commit e73b413d8e
2 changed files with 846 additions and 249 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,8 @@
%bcond_without check %bcond_without check
%bcond_without ostree_ext
Name: bootc Name: bootc
Version: 1.1.2 Version: 1.1.3
Release: 100.bazzite Release: 100.bazzite
Summary: Bootable container system Summary: Bootable container system
@ -34,6 +35,8 @@ BuildRequires: rust-toolset
BuildRequires: cargo-rpm-macros >= 25 BuildRequires: cargo-rpm-macros >= 25
%endif %endif
BuildRequires: systemd BuildRequires: systemd
# For tests
BuildRequires: skopeo ostree
# Backing storage tooling https://github.com/containers/composefs/issues/125 # Backing storage tooling https://github.com/containers/composefs/issues/125
Requires: composefs Requires: composefs
@ -44,6 +47,11 @@ Requires: podman
# For bootloader updates # For bootloader updates
Recommends: bootupd Recommends: bootupd
# A made up provides so that rpm-ostree can depend on it
%if %{with ostree_ext}
Provides: ostree-cli(ostree-container)
%endif
%description %description
%{summary} %{summary}
@ -59,6 +67,9 @@ Recommends: bootupd
%install %install
%make_install INSTALL="install -p -c" %make_install INSTALL="install -p -c"
%if %{with ostree_ext}
make install-ostree-hooks DESTDIR=%{?buildroot}
%endif
%if %{with check} %if %{with check}
%check %check
@ -74,6 +85,9 @@ Recommends: bootupd
%{_bindir}/bootc %{_bindir}/bootc
%{_prefix}/lib/bootc/ %{_prefix}/lib/bootc/
%{_prefix}/lib/systemd/system-generators/* %{_prefix}/lib/systemd/system-generators/*
%if %{with ostree_ext}
%{_prefix}/libexec/libostree/ext/*
%endif
%{_unitdir}/* %{_unitdir}/*
%{_mandir}/man*/bootc* %{_mandir}/man*/bootc*