[poky] [PULL][PATCH 0/1] package_manager.py: fix opkg custom config path
Gaël PORTAY
gael.portay at savoirfairelinux.com
Thu Dec 7 13:38:46 PST 2017
Dear maintainers,
The opkg custom config feature has moved to the package_manager python
module. This feature is broken since commit 19c538f57c.
The python function os.path.join joins path components. If a component
is an absolute path, all previous components are thrown away. The
sysconfdir variable is an absolute path component. It causes the leading
target rootfs component to be removed. As a result, the package-manager
module tries to write in the real root filesystem instead of the
temporary work directory for the rootfs image.
This fixes the issue by prepending the target rootfs component using the
string concatenation operator when the file is opened (without using
os.path module).
No confidential information there.
The following changes since commit 4469acdf1d0338220f3fe2ecb5e079eea6fda375:
lib/oe/utils: remove param_bool() (2017-12-02 11:25:34 +0000)
are available in the Git repository at:
git://git.yoctoproject.org/poky-contrib gportay/fix-opkg-custom-config-path
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=gportay/fix-opkg-custom-config-path
Regards,
Gaël PORTAY (1):
package_manager.py: fix opkg custom config path
meta/lib/oe/package_manager.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--
2.15.0
More information about the poky
mailing list