package/opkg-utils: needs Python3 on the host
PATCH 1/1 package/opkg-utils: needs Python3 on the host
From: Thomas De Schampheleire <[email protected]>
The 'opkg.py' script installed by host-opkg-utils has as shebang:
#!/usr/bin/env python3
which may not be available on all host machines.
Add a potential dependency on host-python3 via BR2_PYTHON3_HOST_DEPENDENCY, which will only add the host-python3 dependency if no python3 is already available on the host.
--- package/opkg-utils/opkg-utils.mk | 2 ++ 1 file changed, 2 insertions(+)
package/opkg-utils/opkg-utils.mk +2 -0
@@ -10,6 +10,8 @@ OPKG_UTILS_SITE_METHOD = git OPKG_UTILS_LICENSE = GPL-2.0+ OPKG_UTILS_LICENSE_FILES = COPYING +HOST_OPKG_UTILS_DEPENDENCIES += $(BR2_PYTHON3_HOST_DEPENDENCY) + define HOST_OPKG_UTILS_BUILD_CMDS $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) endef
Signature · 1 line
2.26.2
PATCH 1/1 package/opkg-utils: needs Python3 on the host
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
From: Thomas De Schampheleire <[email protected]> The '
opkg.py' script installed by host-opkg-utils has as shebang:
Quoted 8 lines
#!/usr/bin/env python3which may not be available on all host machines.
Add a potential dependency on host-python3 viaBR2_PYTHON3_HOST_DEPENDENCY, which will only add the host-python3 dependency if no python3 is already available on the host.Signed-off-by Thomas De Schampheleire <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/opkg-utils: needs Python3 on the host
In reply to Thomas De SchampheleireQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
From: Thomas De Schampheleire <[email protected]> The '
opkg.py' script installed by host-opkg-utils has as shebang:
Quoted 8 lines
#!/usr/bin/env python3which may not be available on all host machines.
Add a potential dependency on host-python3 viaBR2_PYTHON3_HOST_DEPENDENCY, which will only add the host-python3 dependency if no python3 is already available on the host.Signed-off-by Thomas De Schampheleire <[email protected]>
Committed to 2020.02.x, 2020.08.x and 2020.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard