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:51:03 +0000
commit2071b7caf2d28952e42451c3e1c984a2d04a3ba1 (patch)
treed4570ad2cd977cdaca690aa4b5919c2886e0dd96
parent0cce5bc1651beb7885c053c6df93d819c810ef5a (diff)
downloadpoky-2071b7caf2d28952e42451c3e1c984a2d04a3ba1.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: f0ea8b49a183d9340aaf0c60ee959aa8ec3c041c) 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: 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 9fda1c9e78..5657af4b6a 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -122,7 +122,7 @@ SDK_TITLE_task-populate-sdk-ext = "${@d.getVar('DISTRO_NAME') or d.getVar('DISTR
122def clean_esdk_builddir(d, sdkbasepath): 122def clean_esdk_builddir(d, sdkbasepath):
123 """Clean up traces of the fake build for create_filtered_tasklist()""" 123 """Clean up traces of the fake build for create_filtered_tasklist()"""
124 import shutil 124 import shutil
125 cleanpaths = 'cache conf/sanity_info tmp'.split() 125 cleanpaths = ['cache', 'tmp']
126 for pth in cleanpaths: 126 for pth in cleanpaths:
127 fullpth = os.path.join(sdkbasepath, pth) 127 fullpth = os.path.join(sdkbasepath, pth)
128 if os.path.isdir(fullpth): 128 if os.path.isdir(fullpth):