public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/linux-firmware] f44: Allow building on systems lacking 'parallel`, such as Fedora ELN
@ 2026-09-10 13:46 Stephen Gallagher
0 siblings, 0 replies; only message in thread
From: Stephen Gallagher @ 2026-09-10 13:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/linux-firmware
Branch : f44
Commit : 56abbaf2387bd3902d54c43a9f7e3cbd4a86ce4b
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2026-08-24T09:12:07-04:00
Stats : +48/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/linux-firmware/c/56abbaf2387bd3902d54c43a9f7e3cbd4a86ce4b?branch=f44
Log:
Allow building on systems lacking 'parallel`, such as Fedora ELN
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/0001-copy-firmware-Do-not-fail-without-GNU-parallel.patch b/0001-copy-firmware-Do-not-fail-without-GNU-parallel.patch
new file mode 100644
index 0000000..83601ce
--- /dev/null
+++ b/0001-copy-firmware-Do-not-fail-without-GNU-parallel.patch
@@ -0,0 +1,37 @@
+From ccbeeb0dcc56c6fa099d802a7210d62657d70a01 Mon Sep 17 00:00:00 2001
+From: Stephen Gallagher <sgallagh@redhat.com>
+Date: Mon, 24 Aug 2026 08:55:33 -0400
+Subject: [PATCH] copy-firmware: Do not fail without GNU parallel
+
+Some distributions (including Red Hat Enterprise Linux and its siblings)
+do not ship the GNU `parallel` command or include them in their build
+environment. They do, however, include automatic build flags that try to
+pass -jN to make.
+
+Instead of treating this as a failure, just warn the user that parallel
+builds are not supported without the GNU `parallel` command and just
+continue with serialized execution instead.
+
+Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
+---
+ copy-firmware.sh | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/copy-firmware.sh b/copy-firmware.sh
+index 6a32127e77cc35f8c15b3adc7030fa671d555b80..f9a609cf37afde46f86cfc8a0083ce0948263f31 100755
+--- a/copy-firmware.sh
++++ b/copy-firmware.sh
+@@ -53,7 +53,9 @@ while test $# -gt 0; do
+ num_jobs=$(echo "$1" | sed 's/-j//')
+ num_jobs=${num_jobs:-1}
+ if [ "$num_jobs" -gt 1 ] && ! has_gnu_parallel; then
+- err "the GNU parallel command is required to use -j"
++ warn "the GNU parallel command is required to use -j"
++ warn "running without parallel compression"
++ num_jobs=1
+ fi
+ parallel_args_file=$(mktemp)
+ trap 'rm -f $parallel_args_file' EXIT INT QUIT TERM
+--
+2.55.0
+
diff --git a/linux-firmware.spec b/linux-firmware.spec
index 4e7e7ae..bc90283 100644
--- a/linux-firmware.spec
+++ b/linux-firmware.spec
@@ -5,7 +5,7 @@
Name: linux-firmware
Version: 20260810
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Firmware files used by the Linux kernel
License: GPL-1.0-or-later AND GPL-2.0-or-later AND MIT AND LicenseRef-Callaway-Redistributable-no-modification-permitted
URL: http://www.kernel.org/
@@ -38,6 +38,13 @@ Recommends: nxpwireless-firmware
Recommends: realtek-firmware
Recommends: tiwilink-firmware
+
+# RHEL and Fedora ELN lack GNU parallel
+# Instead of failing when the build macros pass -jN, just force it to run
+# serially.
+# Upstream MR (merged): https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/1190
+Patch: 0001-copy-firmware-Do-not-fail-without-GNU-parallel.patch
+
%description
This package includes firmware files required for some devices to
operate.
@@ -729,6 +736,9 @@ end
%{_firmwarepath}/v4l-cx2*
%changelog
+* Fri Aug 14 2026 Stephen Gallagher <sgallagh@redhat.com> - 20260810-2
+- Allow building on systems lacking 'parallel`, such as Fedora ELN
+
* Tue Aug 11 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 20260810-1
- Update to 20260810
- amdgpu: numerous firmware updates
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-10 13:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 13:46 [rpms/linux-firmware] f44: Allow building on systems lacking 'parallel`, such as Fedora ELN Stephen Gallagher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox