package/samba4: AD DC needs python3
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 1 Jan 2020 17:56:15 +0000 (18:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 2 Jan 2020 08:23:06 +0000 (09:23 +0100)
python3 is mandatory since version 4.11 and
https://gitlab.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314

As a result, AD DC needs python3

Fixes:
 - http://autobuild.buildroot.org/results/7af629b8acc92c81e006b1b87ae9a6fd461cf96d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/samba4/Config.in

index a6997c13eb311fdf53c0ab56da30002acb0df017..493c79f3f8af8cbaa74100fbddb01fb954a38687 100644 (file)
@@ -31,10 +31,14 @@ if BR2_PACKAGE_SAMBA4
 
 config BR2_PACKAGE_SAMBA4_AD_DC
        bool "AD DC"
+       depends on BR2_PACKAGE_PYTHON3
        select BR2_PACKAGE_JANSSON
        help
          Enable Active Directory Domain Controller functionality.
 
+comment "AD DC depends on python3"
+       depends on !BR2_PACKAGE_PYTHON3
+
 config BR2_PACKAGE_SAMBA4_ADS
        bool "ADS"
        select BR2_PACKAGE_OPENLDAP