diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/copy_buildsystem.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py index abee5d9a77..5074a43cb9 100644 --- a/meta/lib/oe/copy_buildsystem.py +++ b/meta/lib/oe/copy_buildsystem.py | |||
@@ -160,4 +160,11 @@ def create_locked_sstate_cache(lockedsigs, input_sstate_cache, output_sstate_cac | |||
160 | if fixedlsbstring: | 160 | if fixedlsbstring: |
161 | nativedir = output_sstate_cache + '/' + nativelsbstring | 161 | nativedir = output_sstate_cache + '/' + nativelsbstring |
162 | if os.path.isdir(nativedir): | 162 | if os.path.isdir(nativedir): |
163 | os.rename(nativedir, output_sstate_cache + '/' + fixedlsbstring) | 163 | destdir = os.path.join(output_sstate_cache, fixedlsbstring) |
164 | bb.utils.mkdirhier(destdir) | ||
165 | |||
166 | dirlist = os.listdir(nativedir) | ||
167 | for i in dirlist: | ||
168 | src = os.path.join(nativedir, i) | ||
169 | dest = os.path.join(destdir, i) | ||
170 | os.rename(src, dest) | ||