mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 09:21:35 +00:00
rstrip.sh: do not strip FW binaries
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
25bec55d4a
commit
a14df28bd6
26
patches/0076-rstrip.sh-do-not-strip-FW-binaries.patch
Normal file
26
patches/0076-rstrip.sh-do-not-strip-FW-binaries.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From f8a801dee8bf0706e349f8f9a7ca1e1fb2fcd42a Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Mon, 22 Jan 2024 12:21:02 +0100
|
||||
Subject: [PATCH] rstrip.sh: do not strip FW binaries
|
||||
|
||||
Signed-off-by: John Crispin <john@phrozen.org>
|
||||
---
|
||||
scripts/rstrip.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh
|
||||
index e47960a941..2aa7e96fda 100755
|
||||
--- a/scripts/rstrip.sh
|
||||
+++ b/scripts/rstrip.sh
|
||||
@@ -20,7 +20,7 @@ TARGETS=$*
|
||||
exit 1
|
||||
}
|
||||
|
||||
-find $TARGETS -type f -a -exec file {} \; | \
|
||||
+find $TARGETS -not -path \*/lib/firmware/\* -a -type f -a -exec file {} \; | \
|
||||
sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*,.*/\1:\2/p' | \
|
||||
(
|
||||
IFS=":"
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user