diff options
-rw-r--r-- | meta/lib/oe/rootfs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index a95e1b7391..0546c1e321 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -122,7 +122,7 @@ class Rootfs(object): | |||
122 | bb.note(" Copying back package database...") | 122 | bb.note(" Copying back package database...") |
123 | for dir in dirs: | 123 | for dir in dirs: |
124 | bb.utils.mkdirhier(self.image_rootfs + os.path.dirname(dir)) | 124 | bb.utils.mkdirhier(self.image_rootfs + os.path.dirname(dir)) |
125 | shutil.copytree(self.image_rootfs + '-orig' + dir, self.image_rootfs + dir) | 125 | shutil.copytree(self.image_rootfs + '-orig' + dir, self.image_rootfs + dir, symlinks=True) |
126 | 126 | ||
127 | cpath = oe.cachedpath.CachedPath() | 127 | cpath = oe.cachedpath.CachedPath() |
128 | # Copy files located in /usr/lib/debug or /usr/src/debug | 128 | # Copy files located in /usr/lib/debug or /usr/src/debug |
@@ -907,7 +907,7 @@ class OpkgRootfs(DpkgOpkgRootfs): | |||
907 | 907 | ||
908 | self.pm.install_complementary() | 908 | self.pm.install_complementary() |
909 | 909 | ||
910 | self._setup_dbg_rootfs(['/var/lib/opkg']) | 910 | self._setup_dbg_rootfs(['/etc', '/var/lib/opkg']) |
911 | 911 | ||
912 | execute_pre_post_process(self.d, opkg_post_process_cmds) | 912 | execute_pre_post_process(self.d, opkg_post_process_cmds) |
913 | 913 | ||