From c30a4e2d7f2a722c835d9e544ea95ff78b7ea4bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 15 Apr 2024 17:19:08 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 transactional-update revision 23c10280de8344b7726d9b50e793f2bc --- transactional-update-4.5.0.tar.gz | 3 -- transactional-update-4.6.5.tar.gz | 3 ++ transactional-update.changes | 59 +++++++++++++++++++++++++++++++ transactional-update.spec | 15 ++++++-- 4 files changed, 75 insertions(+), 5 deletions(-) delete mode 100644 transactional-update-4.5.0.tar.gz create mode 100644 transactional-update-4.6.5.tar.gz diff --git a/transactional-update-4.5.0.tar.gz b/transactional-update-4.5.0.tar.gz deleted file mode 100644 index d2049e6..0000000 --- a/transactional-update-4.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:116986e8ad3340acd44d7f6dd7869b70781c64696f17ef1c905097b274d15742 -size 170428 diff --git a/transactional-update-4.6.5.tar.gz b/transactional-update-4.6.5.tar.gz new file mode 100644 index 0000000..101c50c --- /dev/null +++ b/transactional-update-4.6.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c2aa40cb5443d645daa6cf01474d0d15f335f3e2c1364f8d0e8f82e9ace4466 +size 172681 diff --git a/transactional-update.changes b/transactional-update.changes index caeff1c..d059430 100644 --- a/transactional-update.changes +++ b/transactional-update.changes @@ -1,3 +1,62 @@ +------------------------------------------------------------------- +Fri Apr 12 15:36:13 UTC 2024 - Ignaz Forster + +- 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 + +- 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 + +- 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 diff --git a/transactional-update.spec b/transactional-update.spec index 4be1001..2de281a 100644 --- a/transactional-update.spec +++ b/transactional-update.spec @@ -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