public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/syslinux] f44: spec: always exit with 0 in scriplets
@ 2026-07-13 16:30 Nicolas Frayer
  0 siblings, 0 replies; only message in thread
From: Nicolas Frayer @ 2026-07-13 16:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/syslinux
            Branch : f44
            Commit : a7f36caa0acbe1de9c53cfce4039f8b0133b7877
            Author : Nicolas Frayer <nfrayer@redhat.com>
            Date   : 2026-07-09T11:52:54+02:00
            Stats  : +7/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/syslinux/c/a7f36caa0acbe1de9c53cfce4039f8b0133b7877?branch=f44

            Log:
            spec: always exit with 0 in scriplets

Resolves: #2481186
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>

---
diff --git a/syslinux.spec b/syslinux.spec
index d9628dc..6021eeb 100644
--- a/syslinux.spec
+++ b/syslinux.spec
@@ -10,7 +10,7 @@ Summary: Simple kernel loader which boots from a FAT filesystem
 Name: syslinux
 Version: 6.04
 %define tarball_version 6.04-pre1
-Release: 0.36%{?dist}
+Release: 0.37%{?dist}
 License: GPL-2.0-or-later
 URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
 Source0: http://www.kernel.org/pub/linux/utils/boot/syslinux/%{name}-%{tarball_version}.tar.xz
@@ -252,15 +252,19 @@ rm -f %{buildroot}%{_includedir}/syslinux.h
 # If we have a /boot/extlinux.conf file, assume extlinux is our bootloader
 # and update it.
 if [ -f /boot/extlinux/extlinux.conf ]; then \
-	extlinux --update /boot/extlinux ; \
+	extlinux --update /boot/extlinux || : ; \
 elif [ -f /boot/extlinux.conf ]; then \
 	mkdir -p /boot/extlinux && \
 	mv /boot/extlinux.conf /boot/extlinux/extlinux.conf && \
-	extlinux --update /boot/extlinux ; \
+	extlinux --update /boot/extlinux || : ; \
 fi
 %endif
 
 %changelog
+* Thu Jul 09 2026 Nicolas Frayer <nfrayer@redhat.com> - 6.04-0.37
+- spec: always exit with 0 in scriplets
+- Resolves: #2481186
+
 * Wed Mar 25 2026 Josue Hernandez <josherna@redhat.com> - 6.04-0.36
 - Update zlib version to zlib-1.2.11
 - Resolves: CVE-2022-37434 CVE-2018-25032 CVE-2016-9840 CVE-2016-9843

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-13 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 16:30 [rpms/syslinux] f44: spec: always exit with 0 in scriplets Nicolas Frayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox