diff options
author | Ming Liu <liu.ming50@gmail.com> | 2017-09-24 06:03:49 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-26 11:05:01 +0100 |
commit | 307f25c23efecd3861a9f8337806be9ca8b0b9f1 (patch) | |
tree | abc48189d65e28f7235e92726a855b93fb4ca78f /meta/lib/oe/package_manager.py | |
parent | 75bee4603dbabb4ed2cec3e2328cc24bf824a280 (diff) | |
download | poky-307f25c23efecd3861a9f8337806be9ca8b0b9f1.tar.gz |
meta: drop True option to getVar calls
Search made with the following regex: getVar ?\((.*), True\).
(From OE-Core rev: dbc0eaf478feb3f752ae22fd184984494fc85d0a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 994e462445..658c964277 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1151,7 +1151,7 @@ class OpkgPM(OpkgDpkgPM): | |||
1151 | 1151 | ||
1152 | # Create an temp dir as opkg root for dummy installation | 1152 | # Create an temp dir as opkg root for dummy installation |
1153 | temp_rootfs = self.d.expand('${T}/opkg') | 1153 | temp_rootfs = self.d.expand('${T}/opkg') |
1154 | opkg_lib_dir = self.d.getVar('OPKGLIBDIR', True) | 1154 | opkg_lib_dir = self.d.getVar('OPKGLIBDIR') |
1155 | if opkg_lib_dir[0] == "/": | 1155 | if opkg_lib_dir[0] == "/": |
1156 | opkg_lib_dir = opkg_lib_dir[1:] | 1156 | opkg_lib_dir = opkg_lib_dir[1:] |
1157 | temp_opkg_dir = os.path.join(temp_rootfs, opkg_lib_dir, 'opkg') | 1157 | temp_opkg_dir = os.path.join(temp_rootfs, opkg_lib_dir, 'opkg') |