mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 06:32:12 +02:00
rootfs.py: Respect OPKGLIBDIR variable
* when OPKGLIBDIR doesn't have the default /var/lib value it will silently fail to copy package database from normal rootfs to debugfs rootfs and then when trying to install *-dbg complimentary packages it won't install anything, because installed_pkgs.txt file generated from debugfs is empty (From OE-Core rev: 0554537271f56d95cb43e09bb831f57f82e8f3ac) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
46b3cc9d8d
commit
a8500d9c75
@@ -949,7 +949,9 @@ class OpkgRootfs(DpkgOpkgRootfs):
|
||||
if self.progress_reporter:
|
||||
self.progress_reporter.next_stage()
|
||||
|
||||
self._setup_dbg_rootfs(['/etc', '/var/lib/opkg', '/usr/lib/ssl'])
|
||||
opkg_lib_dir = self.d.getVar('OPKGLIBDIR', True)
|
||||
opkg_dir = os.path.join(opkg_lib_dir, 'opkg')
|
||||
self._setup_dbg_rootfs(['/etc', opkg_dir, '/usr/lib/ssl'])
|
||||
|
||||
execute_pre_post_process(self.d, opkg_post_process_cmds)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user