kernel-firmware/copy-file-ignore-README.patch
Takashi Iwai 8109b6df4b - Update to version 20241220 (git commit 9cf329b39cf1):
* cnm: update chips&media wave521c firmware.
  * WHENCE: Add "Info:" tag to text that's clearly not part of the license
  * rtl_nic: add firmware rtl8125bp-2
  * qcom: venus-5.4: update firmware binary for sc7180 and qcs615
  * cirrus: cs35l56: Correct filenames of SSID 17aa3832
  * cirrus: cs35l56: Add and update firmware for various Cirrus CS35L54 and CS35L56 laptops
  * cirrus: cs35l56: Correct SSID order for 103c8d01 103c8d08 10431f43

OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=519
2025-01-01 11:42:39 +00:00

15 lines
611 B
Diff

diff --git a/copy-firmware.sh b/copy-firmware.sh
index dcb3b92c7229..e16424dc16f3 100755
--- a/copy-firmware.sh
+++ b/copy-firmware.sh
@@ -70,6 +70,9 @@ $verbose "Checking that WHENCE file is formatted properly"
# shellcheck disable=SC2162 # file/folder name can include escaped symbols
grep -E '^(RawFile|File):' WHENCE | sed -E -e 's/^(RawFile|File): */\1 /;s/"//g' | while read k f; do
+ case "$f" in
+ */README) continue;;
+ esac
install -d "$destdir/$(dirname "$f")"
$verbose "copying/compressing file $f$compext"
if test "$compress" != "cat" && test "$k" = "RawFile"; then