GNU Linux-libre 4.4.282-gnu1 scripts scripts/v4.4-gnu1a scripts/v4.4.282-gnu1
authorAlexandre Oliva <lxoliva@fsfla.org>
Mon, 30 Aug 2021 18:59:34 +0000 (14:59 -0400)
committerAlexandre Oliva <lxoliva@fsfla.org>
Mon, 30 Aug 2021 18:59:34 +0000 (14:59 -0400)
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