public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Frayer <nfrayer@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/syslinux] rawhide: spec: always exit with 0 in scriplets
Date: Thu, 09 Jul 2026 17:34:03 GMT	[thread overview]
Message-ID: <178361844327.1.8574393601975418467.rpms-syslinux-a7f36caa0acb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/syslinux
            Branch : rawhide
            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=rawhide

            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

                 reply	other threads:[~2026-07-09 17:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178361844327.1.8574393601975418467.rpms-syslinux-a7f36caa0acb@fedoraproject.org \
    --to=nfrayer@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox