diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-12-23 21:39:10 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2017-01-15 14:24:45 +0000 |
commit | f912398fc6557c0a0ec291de099b32ae69870305 (patch) | |
tree | 127113a94f7cebdc3d19bf9d4723b04ddd54e715 /tools/blobs-discover/patches | |
parent | ffb8318ac36e28abf9cdb9deffddd0253473249f (diff) | |
download | librebootfr-f912398fc6557c0a0ec291de099b32ae69870305.tar.gz librebootfr-f912398fc6557c0a0ec291de099b32ae69870305.zip |
tools: blobs-discover: Detect linux in deblob-check
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'tools/blobs-discover/patches')
-rw-r--r-- | tools/blobs-discover/patches/detect-linux.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/blobs-discover/patches/detect-linux.patch b/tools/blobs-discover/patches/detect-linux.patch new file mode 100644 index 00000000..8c393f92 --- /dev/null +++ b/tools/blobs-discover/patches/detect-linux.patch @@ -0,0 +1,13 @@ +diff --git a/deblob-check b/deblob-check +index 1c50c0f..649a212 100755 +--- a/deblob-check ++++ b/deblob-check +@@ -904,7 +904,7 @@ set_except () { + # blobna '\(f\|ht\)tp:[/]\([/]\+[^/ \n ]\+\)\+' + + case $prefix$1 in +- */*linux*.tar* | */*kernel*.tar* | */*linux-*.*/*) ++ */*linux*.tar* | */*kernel*.tar* | */*linux-*.*/* | */*linux*/*) + # false alarms, contain source + # drivers/net/wan/wanxlfw.inc_shipped -> wanxlfw.S + accept 'static[ ]u8[ ]firmware\[\]=[{][\n]0x60,\(0x00,\)*0x16,\(0x00,\)*\([\n]\(0x[0-9A-F][0-9A-F],\)*\)*[\n]0x23,0xFC,0x00,0x00,0x00,0x01,0xFF,0xF9,0x00,0xD4,0x61,0x00,0x06,0x74,0x33,0xFC,\([\n]\(0x[0-9A-F][0-9A-F],\)*\)*0x00[\n][}][;]' |