Sync from SUSE:ALP:Source:Standard:1.0 transactional-update revision 23c10280de8344b7726d9b50e793f2bc

This commit is contained in:
Adrian Schröter 2024-04-15 17:19:08 +02:00
parent 4c498c42b8
commit c30a4e2d7f
4 changed files with 75 additions and 5 deletions

BIN
transactional-update-4.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
transactional-update-4.6.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Fri Apr 12 15:36:13 UTC 2024 - Ignaz Forster <iforster@suse.com>
- Version 4.6.5
- Rework soft-reboot support introduced in 4.6.0:
- On transactional systems with systemd 254 the system could
hang with with a soft-reboot, as /var and /etc have to be
mounted in /run/nextroot explicitly. As a soft-reboot can
also be triggered by an admin the mounting of the
corresponding mount points was moved to a systemd service to
be independent of t-u itself.
- Support for systemd 255
- Don't decrease reboot level on multiple commands
- Various other bugfixes
- soft-reboot support is disabled by default now to gather more feedback
- libtukit: Fix kexec reboot method to boot kernel / initrd of next snapshot
- tukit: Don't clone lock file handle on exec [boo#1222411]
- t-u: Always use zypper of installed system [bsc#1221346]
- t-u: Remove remaining telemetrics references
- Add prepare-nextroot-for-softreboot service
- Add (empty) %check section
-------------------------------------------------------------------
Tue Mar 12 17:12:33 UTC 2024 - Ignaz Forster <iforster@suse.com>
- Disable soft-reboot support for now as long as it isn't working
reliably
- Move tukit.conf to correct package
-------------------------------------------------------------------
Mon Mar 4 14:55:53 UTC 2024 - Ignaz Forster <iforster@suse.com>
- Version 4.6.0
- tukit / t-u: Implement support for systemd soft-reboot, but
needs package manager support (provided by zypp-boot-plugin on
openSUSE) to determine which kind of reboot is required; the
minimally required reboot method (soft-reboot, kexec, full
reboot) will be used automatically if enabled (see tukit.conf).
This deprecates the "kexec" reboot method in favor of automatic
selection.
- tukit: Determine D-Bus availability via system socket instead
of brute force
- tukit: Don't ignore return status of snapper - plugins can
return an error code now where tukit has to fail [gh##118] /
[poo#127169]
- tukit: Remove BTRFS dependencies in snapper backend, user
snapper for for everything directly. In theory this should
support further file systems such as bcachefs if they follow
the same layout (untested).
- t-u: Add safety net before deleting overlays [boo#1217416]
- t-u: Remove telemetry support, the required packages haven't
been in the repository for quite some time as they were
abandoned upstream.
- doc: Document option to use names in BINDDIRS array
- doc: Mention tukit.conf in t-u man page
- doc: Link Reboot.hpp as an officially supported API on the
main page
- Code cleanup
-------------------------------------------------------------------
Thu Jan 18 16:19:41 UTC 2024 - Ignaz Forster <iforster@suse.com>

View File

@ -26,7 +26,7 @@
%{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}}
Name: transactional-update
Version: 4.5.0
Version: 4.6.5
Release: 0
Summary: Transactional Updates with btrfs and snapshots
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@ -170,6 +170,9 @@ autoreconf -fiv
sed -i 's/^UPDATE_METHOD=.*/UPDATE_METHOD=up/' etc/transactional-update.conf
%endif
# Temporarily disable soft-reboot until it's working reliably
sed -i 's/^REBOOT_ALLOW_SOFT_REBOOT=.*/REBOOT_ALLOW_SOFT_REBOOT=false/' etc/tukit.conf
%install
%make_install
@ -223,15 +226,19 @@ done
%pre -n tukit
%systemd_pre create-dirs-from-rpmdb.service
%systemd_pre prepare-nextroot-for-softreboot.service
%post -n tukit
%systemd_post create-dirs-from-rpmdb.service
%systemd_post prepare-nextroot-for-softreboot.service
%preun -n tukit
%systemd_preun create-dirs-from-rpmdb.service
%systemd_preun prepare-nextroot-for-softreboot.service
%postun -n tukit
%systemd_postun_with_restart create-dirs-from-rpmdb.service
%systemd_postun_with_restart prepare-nextroot-for-softreboot.service
%pre -n tukitd
%systemd_pre tukitd.service
@ -276,7 +283,6 @@ done
%dir %{_distconfdir}
%endif
%{_distconfdir}/transactional-update.conf
%{_distconfdir}/tukit.conf
%{_mandir}/man5/transactional-update.conf.5*
%{_mandir}/man8/transactional-update.8*
%{_mandir}/man8/transactional-update.timer.8*
@ -289,6 +295,9 @@ done
%{_sbindir}/tukit
%{_sbindir}/create_dirs_from_rpmdb
%{_unitdir}/create-dirs-from-rpmdb.service
%{_libexecdir}/prepare-nextroot-for-softreboot
%{_unitdir}/prepare-nextroot-for-softreboot.service
%{_distconfdir}/tukit.conf
%{_mandir}/man5/tukit.conf.5.gz
%files -n dracut-%{name}
@ -320,4 +329,6 @@ done
%files zypp-config
%config(noreplace) %{_sysconfdir}/zypp/systemCheck.d/transactional-update.check
%check
%changelog