diff mbox series

[1/1] utils/genrandconfig: test configurations with BR2_PACKAGE_PYTHON3_PY_ONLY

Message ID 20211015151636.630910-1-bernd.kuhls@t-online.de
State Accepted
Headers show
Series [1/1] utils/genrandconfig: test configurations with BR2_PACKAGE_PYTHON3_PY_ONLY | expand

Commit Message

Bernd Kuhls Oct. 15, 2021, 3:16 p.m. UTC
Python3 variant of
https://git.buildroot.net/buildroot-test/commit/?id=c0de21d9530af53eae5588d99d90c7e0cb87c543

to support Kodi 19 which depends on python3:
https://git.buildroot.net/buildroot/commit/?id=148e695e37561fe45d4726cb68f6454464d17797

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 utils/genrandconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni Oct. 18, 2021, 8:10 p.m. UTC | #1
On Fri, 15 Oct 2021 17:16:36 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Python3 variant of
> https://git.buildroot.net/buildroot-test/commit/?id=c0de21d9530af53eae5588d99d90c7e0cb87c543
> 
> to support Kodi 19 which depends on python3:
> https://git.buildroot.net/buildroot/commit/?id=148e695e37561fe45d4726cb68f6454464d17797
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  utils/genrandconfig | 2 ++
>  1 file changed, 2 insertions(+)

Applied to master, thanks. However, I really wish that one day, we will
be able to remove this dependency from Kodi, as it is quite annoying :-/

Thomas
Peter Korsgaard Oct. 25, 2021, 12:07 p.m. UTC | #2
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Python3 variant of
 > https://git.buildroot.net/buildroot-test/commit/?id=c0de21d9530af53eae5588d99d90c7e0cb87c543

 > to support Kodi 19 which depends on python3:
 > https://git.buildroot.net/buildroot/commit/?id=148e695e37561fe45d4726cb68f6454464d17797

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2021.08.x, thanks.
diff mbox series

Patch

diff --git a/utils/genrandconfig b/utils/genrandconfig
index a1431bf1a8..4fffcbad11 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -367,6 +367,8 @@  def gen_config(args):
         configlines.append("BR2_STATIC_LIBS=y\n")
     if randint(0, 20) == 0:
         configlines.append("BR2_PACKAGE_PYTHON_PY_ONLY=y\n")
+    if randint(0, 20) == 0:
+        configlines.append("BR2_PACKAGE_PYTHON3_PY_ONLY=y\n")
     if randint(0, 5) == 0:
         configlines.append("BR2_OPTIMIZE_2=y\n")
     if randint(0, 4) == 0: