]> code.ossystems Code Review - openembedded-core.git/commitdiff
populate_sdk_ext.bbclass: No longer needed to clean away conf/sanity_info
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Tue, 7 Jan 2020 22:10:43 +0000 (23:10 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 15 Jan 2020 03:58:08 +0000 (11:58 +0800)
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.

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>
meta/classes/populate_sdk_ext.bbclass

index 9fda1c9e78eabdf9fc87393686d3b40ea29b4ae2..5657af4b6abd0bd4baabfbe54e561241696fae93 100644 (file)
@@ -122,7 +122,7 @@ SDK_TITLE_task-populate-sdk-ext = "${@d.getVar('DISTRO_NAME') or d.getVar('DISTR
 def clean_esdk_builddir(d, sdkbasepath):
     """Clean up traces of the fake build for create_filtered_tasklist()"""
     import shutil
-    cleanpaths = 'cache conf/sanity_info tmp'.split()
+    cleanpaths = ['cache', 'tmp']
     for pth in cleanpaths:
         fullpth = os.path.join(sdkbasepath, pth)
         if os.path.isdir(fullpth):