diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2020-01-07 23:10:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
commit | e9e708f923b69709a010c4d8c18ba172168a9432 (patch) | |
tree | 993ff8ad08b36b8b443c8a1dc80a920f6e9a1f07 | |
parent | 2f90c165aa93c00d504775b6cea77e88c7011690 (diff) | |
download | poky-e9e708f923b69709a010c4d8c18ba172168a9432.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: 40c30990e1be72130819c040fe471e2bdc0c6e7d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index af6e1b6e6a..9511e553f5 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -124,7 +124,7 @@ SDK_TITLE_task-populate-sdk-ext = "${@d.getVar('DISTRO_NAME') or d.getVar('DISTR | |||
124 | def clean_esdk_builddir(d, sdkbasepath): | 124 | def clean_esdk_builddir(d, sdkbasepath): |
125 | """Clean up traces of the fake build for create_filtered_tasklist()""" | 125 | """Clean up traces of the fake build for create_filtered_tasklist()""" |
126 | import shutil | 126 | import shutil |
127 | cleanpaths = 'cache conf/sanity_info tmp'.split() | 127 | cleanpaths = ['cache', 'tmp'] |
128 | for pth in cleanpaths: | 128 | for pth in cleanpaths: |
129 | fullpth = os.path.join(sdkbasepath, pth) | 129 | fullpth = os.path.join(sdkbasepath, pth) |
130 | if os.path.isdir(fullpth): | 130 | if os.path.isdir(fullpth): |