mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
s4/scripting: in MIT build do not install samba-tool, it is not usable yet
This commit is contained in:
parent
ca2b6259b7
commit
838435ab30
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
||||
for script in ['samba_dnsupdate', 'samba_spnupdate', 'samba_kcc', 'upgradeprovision', 'samba_upgradedns']:
|
||||
for script in ['samba-tool', 'samba_dnsupdate', 'samba_spnupdate', 'samba_kcc', 'upgradeprovision', 'samba_upgradedns']:
|
||||
bld.SAMBA_SCRIPT(script, pattern=script, installdir='.')
|
||||
|
||||
bld.SAMBA_SCRIPT('samba-tool', pattern='samba-tool', installdir='.')
|
||||
|
@ -3,18 +3,17 @@
|
||||
from samba_utils import MODE_755
|
||||
|
||||
sbin_files = None
|
||||
bin_files = 'bin/samba-tool'
|
||||
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
||||
sbin_files = 'bin/upgradeprovision bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns'
|
||||
bin_files = bin_files + ' bin/samba_kcc'
|
||||
|
||||
if sbin_files:
|
||||
bld.INSTALL_FILES('${SBINDIR}',
|
||||
'bin/upgradeprovision bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns',
|
||||
chmod=MODE_755, python_fixup=True, flat=True)
|
||||
|
||||
bld.INSTALL_FILES('${BINDIR}',
|
||||
bin_files,
|
||||
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
||||
bld.INSTALL_FILES('${BINDIR}',
|
||||
'bin/samba-tool bin/samba_kcc',
|
||||
chmod=MODE_755, python_fixup=True, flat=True)
|
||||
|
||||
bld.RECURSE('bin')
|
||||
|
Loading…
x
Reference in New Issue
Block a user