package/samba4: do not force target python
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 3 Jan 2020 13:43:41 +0000 (14:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 8 Jan 2020 08:32:18 +0000 (09:32 +0100)
Samba does not need python on the target for file server functionality.
It does need it for the Active Directory Domain Controller feature,
which is already configured in buildroot as optional and already depends
on python3 since commit 4485a75859fbae99090b065ddd7c088a65571d37.

An unnecessary target python greatly increases the size of the target
filesystem. A somewhat minimal configuration with a samba server shunk
from an 82 MB rootfs to 53 MB with this patch.

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

index 493c79f3f8af8cbaa74100fbddb01fb954a38687..a34eaa80889b05f15cfb94c4737b1943b22fd27f 100644 (file)
@@ -18,7 +18,6 @@ config BR2_PACKAGE_SAMBA4
        select BR2_PACKAGE_GNUTLS
        select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
        select BR2_PACKAGE_POPT
-       select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
        select BR2_PACKAGE_ZLIB
        help
          Provides secure, stable and fast file and print services