summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2020-01-07 23:10:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-28 11:15:02 +0000
commitdeb84639381ad6d90893beeb6c5d03f547c07ad9 (patch)
treed8bc54086b0d9aac4ce6cf96897e1ee5390221a0
parent5b7b426cffc85ba92fe0aec6ef73bbfaba0871b8 (diff)
downloadpoky-deb84639381ad6d90893beeb6c5d03f547c07ad9.tar.gz
populate_sdk_ext.bbclass: No longer needed to clean away conf/sanity_info
Since the sanity_info file has moved from the conf directory to the cache directory, there is no longer any need to clean it away explicitly in clean_esdk_builddir() since the whole cache directory is already cleaned away anyway. (From OE-Core rev: 9b92d5fbfdcf48a17efdd8c1edda4ad26def017f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 40c30990e1be72130819c040fe471e2bdc0c6e7d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index 800e1175d7..f845f7d47d 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -121,7 +121,7 @@ SDK_TITLE_task-populate-sdk-ext = "${@d.getVar('DISTRO_NAME') or d.getVar('DISTR
121def clean_esdk_builddir(d, sdkbasepath): 121def clean_esdk_builddir(d, sdkbasepath):
122 """Clean up traces of the fake build for create_filtered_tasklist()""" 122 """Clean up traces of the fake build for create_filtered_tasklist()"""
123 import shutil 123 import shutil
124 cleanpaths = 'cache conf/sanity_info tmp'.split() 124 cleanpaths = ['cache', 'tmp']
125 for pth in cleanpaths: 125 for pth in cleanpaths:
126 fullpth = os.path.join(sdkbasepath, pth) 126 fullpth = os.path.join(sdkbasepath, pth)
127 if os.path.isdir(fullpth): 127 if os.path.isdir(fullpth):