* [Buildroot] [PATCH] package/opkg-utils: needs Python3 on the host
@ 2020-12-09 15:15 Thomas De Schampheleire
2020-12-21 9:26 ` Peter Korsgaard
2020-12-22 10:51 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Thomas De Schampheleire @ 2020-12-09 15:15 UTC (permalink / raw)
To: buildroot
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
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.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
package/opkg-utils/opkg-utils.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk
index fa14053f65..a94a4cd5cd 100644
--- a/package/opkg-utils/opkg-utils.mk
+++ b/package/opkg-utils/opkg-utils.mk
@@ -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
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/opkg-utils: needs Python3 on the host
2020-12-09 15:15 [Buildroot] [PATCH] package/opkg-utils: needs Python3 on the host Thomas De Schampheleire
@ 2020-12-21 9:26 ` Peter Korsgaard
2020-12-22 10:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-12-21 9:26 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:
> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> 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.
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/opkg-utils: needs Python3 on the host
2020-12-09 15:15 [Buildroot] [PATCH] package/opkg-utils: needs Python3 on the host Thomas De Schampheleire
2020-12-21 9:26 ` Peter Korsgaard
@ 2020-12-22 10:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-12-22 10:51 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin@gmail.com> writes:
> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> 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.
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Committed to 2020.02.x, 2020.08.x and 2020.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-22 10:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-09 15:15 [Buildroot] [PATCH] package/opkg-utils: needs Python3 on the host Thomas De Schampheleire
2020-12-21 9:26 ` Peter Korsgaard
2020-12-22 10:51 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.