From 727b6e92389b6d75f119f9bf4718b22ebabb320c Mon Sep 17 00:00:00 2001 From: Mark Farrugia Date: Tue, 1 May 2018 17:50:39 +1000 Subject: 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 --- INSTALL/tools/scripts_sdk/install_sdk | 3 --- 1 file changed, 3 deletions(-) (limited to 'INSTALL/tools') 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 -- cgit