From bc0deccce871111d160ebf724fb394152dddb1cd Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 8 Feb 2024 14:45:15 -0500 Subject: [PATCH] https://github.com/ostreedev/ostree/releases/tag/v2024.2 --- .gitignore | 1 + ...Graceful-exit-if-etc-default-grub-do.patch | 43 ------------------- ostree.spec | 3 +- sources | 2 +- 4 files changed, 3 insertions(+), 46 deletions(-) delete mode 100644 0001-grub2-15_ostree-Graceful-exit-if-etc-default-grub-do.patch diff --git a/.gitignore b/.gitignore index cd003a2..b9c5f95 100644 --- a/.gitignore +++ b/.gitignore @@ -105,3 +105,4 @@ /libostree-2023.7.tar.xz /libostree-2023.8.tar.xz /libostree-2024.1.tar.xz +/libostree-2024.2.tar.xz diff --git a/0001-grub2-15_ostree-Graceful-exit-if-etc-default-grub-do.patch b/0001-grub2-15_ostree-Graceful-exit-if-etc-default-grub-do.patch deleted file mode 100644 index 14c90c1..0000000 --- a/0001-grub2-15_ostree-Graceful-exit-if-etc-default-grub-do.patch +++ /dev/null @@ -1,43 +0,0 @@ -From c281da8352378cbb3ea244ab6d2b557aada32cc4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Timoth=C3=A9e=20Ravier?= -Date: Wed, 31 Jan 2024 15:38:31 +0100 -Subject: [PATCH 1/2] grub2-15_ostree: Graceful exit if /etc/default/grub - doesn't exist - -With the new bootupd installation path in Anaconda, the -`/etc/default/grub` config file is not written anymore as we are only -using BLS configs with new enough bootloaders. - -We thus don't need to generate (duplicated) legacy boot entries. - -We still need to keep this logic in place in Atomic Desktops -(Silverblue, etc.) until we've actually landed bootupd there and forced -a bootloader update for everybody. - -See: https://github.com/fedora-silverblue/issue-tracker/issues/530 -See: https://github.com/fedora-silverblue/issue-tracker/issues/120 -See: https://fedoraproject.org/wiki/Changes/FedoraSilverblueBootupd ---- - src/boot/grub2/grub2-15_ostree | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/boot/grub2/grub2-15_ostree b/src/boot/grub2/grub2-15_ostree -index ecd618c9..a4c69730 100644 ---- a/src/boot/grub2/grub2-15_ostree -+++ b/src/boot/grub2/grub2-15_ostree -@@ -24,6 +24,12 @@ if ! test -d /ostree/repo; then - exit 0 - fi - -+# Gracefully exit if we can not find the grub2 'default' configuration as it is -+# the case on new installations with bootupd where it is not needed. -+if ! test -f /etc/default/grub; then -+ exit 0 -+fi -+ - # Gracefully exit if the grub2 configuration has BLS enabled, - # and the installed version has support for the blscfg module. - # Since there is no need to create menu entries for that case. --- -2.43.0 - diff --git a/ostree.spec b/ostree.spec index 3d0c49a..129e483 100644 --- a/ostree.spec +++ b/ostree.spec @@ -12,10 +12,9 @@ Summary: Tool for managing bootable, immutable filesystem trees Name: ostree -Version: 2024.1 +Version: 2024.2 Release: %autorelease Source0: https://github.com/ostreedev/%{name}/releases/download/v%{version}/libostree-%{version}.tar.xz -Patch1: 0001-grub2-15_ostree-Graceful-exit-if-etc-default-grub-do.patch License: LGPL-2.0-or-later URL: https://ostree.readthedocs.io/en/latest/ diff --git a/sources b/sources index bc296d8..267e0eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libostree-2024.1.tar.xz) = edbb2146ff4d4e0b60df3c02a046044b710b903c61843eab2daf63f75a1031cec8827cb01da85179ce9e5f693419c6e250e4a2a6aaf4b003ffb5efc81b4b8e02 +SHA512 (libostree-2024.2.tar.xz) = e6e3b1c3d59b54b43d4b58428f99080251921f999b7d3f96e67993d0a8e48031ff36fa04fc89db5ba46d24f78a329a165ad76379b18b96842c4b22c511b2f307