summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/rootfs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index f5c465fbd2..7087b12f25 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -116,6 +116,8 @@ class Rootfs(object):
116 116
117 bb.note(" Copying back package database...") 117 bb.note(" Copying back package database...")
118 for dir in dirs: 118 for dir in dirs:
119 if not os.path.isdir(self.image_rootfs + '-orig' + dir):
120 continue
119 bb.utils.mkdirhier(self.image_rootfs + os.path.dirname(dir)) 121 bb.utils.mkdirhier(self.image_rootfs + os.path.dirname(dir))
120 shutil.copytree(self.image_rootfs + '-orig' + dir, self.image_rootfs + dir, symlinks=True) 122 shutil.copytree(self.image_rootfs + '-orig' + dir, self.image_rootfs + dir, symlinks=True)
121 123