GNU Linux-libre 4.4-gnu1a erratum, and 4.4.282-gnu1
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Tue, 31 Aug 2021 04:06:56 +0000 (04:06 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Tue, 31 Aug 2021 04:06:56 +0000 (04:06 +0000)
git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@18286 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-4.4

index 084e6eec5f2ca8659ebf9f19af7511662baf7c6e..431d130268327a92430baf04832991d051322c91 100755 (executable)
@@ -1751,7 +1751,10 @@ clean_sed '
                goto error;\
        }
 }' drivers/net/wireless/b43/main.c 'double-check and reject non-Free firmware'
-# Major portions of firmware filenames not deblobbed.
+clean_sed '
+/^[\t]*filename = "\(ucode\|b0g0\(bs\)\?initvals\)5";$/! {
+       s,^\([\t]*filename = "\)\(ucode\|pcm\|[^ "]*initvals\)[0-9][^ ."]*";,\1/*(DEBLOBBED)*/";,g
+}' drivers/net/wireless/b43/main.c 'cleaned up blob basenames'
 clean_blob drivers/net/wireless/b43/main.c
 clean_kconfig drivers/net/wireless/b43/Kconfig B43
 clean_mk CONFIG_B43 drivers/net/wireless/b43/Makefile