aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-05-01 17:50:39 +1000
committerStéphane Desneux <stephane.desneux@iot.bzh>2018-05-14 12:44:14 +0000
commit727b6e92389b6d75f119f9bf4718b22ebabb320c (patch)
treeb1ae6fd70cefe3bffde51ef4a47dbcbec7946433
parent0b72e0846f5c801e9a65cdb48ebe008f67269611 (diff)
Don't remove kernel sources from SDK in install_sdk script
We shouldn't be removing the kernel sources from the SDK in the install_sdk script in the docker-worker-generator repository. These are needed for out-of-tree development (such as kernel modules). Bug-AGL: SPEC-1412 Change-Id: Icf0b392ea9c4fbd7a18d8efe57c34908271971ed Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-rw-r--r--INSTALL/tools/scripts_sdk/install_sdk3
1 files changed, 0 insertions, 3 deletions
diff --git a/INSTALL/tools/scripts_sdk/install_sdk b/INSTALL/tools/scripts_sdk/install_sdk
index 27035c8..a267234 100644
--- a/INSTALL/tools/scripts_sdk/install_sdk
+++ b/INSTALL/tools/scripts_sdk/install_sdk
@@ -32,9 +32,6 @@ pushd $XDT_SDK/sysroots/*-agl-*
rm -rf $dir
done
- echo "Removing sources in /usr/src"
- rm -rf usr/src
-
for dir in bin sbin usr/bin usr/local/bin usr/sbin; do
echo "Removing binaries in $dir"
find $dir -type f -exec file -i '{}' \; | grep 'x-executable;' | grep 'charset=binary' | cut -f1 -d':' | while read file; do