s4-provision Remove setup_path, setup_dir and find_setup_dir
authorAndrew Bartlett <abartlet@samba.org>
Fri, 4 Feb 2011 23:34:51 +0000 (10:34 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 7 Feb 2011 02:22:01 +0000 (13:22 +1100)
commitd1e5a7380619043a351ba8a25ebb8031163e70b7
treedfb73691356940c847265086d7100286f864b010
parent4ae013c01b2936e7fd80e674a617f10b54179010
s4-provision Remove setup_path, setup_dir and find_setup_dir

We now have a reliable way to know the current location of the
templates: dyn_SETUPDIR, which is updated for both the in-build and
installed binaries.

This replaces the function arguments and the distributed resolution of
the setup directory with one 'global' function (imported as required).

This also removes the ability to specify an alternate setup directory
on the command line, as this was rarely if ever used and never tested.

Andrew Bartlett
13 files changed:
source4/param/provision.c
source4/param/pyparam.c
source4/scripting/bin/upgradeprovision
source4/scripting/python/samba/join.py
source4/scripting/python/samba/provision/__init__.py
source4/scripting/python/samba/provision/backend.py
source4/scripting/python/samba/schema.py
source4/scripting/python/samba/tests/provision.py
source4/scripting/python/samba/tests/samdb.py
source4/scripting/python/samba/upgrade.py
source4/scripting/python/samba/upgradehelpers.py
source4/setup/provision
source4/setup/upgrade_from_s3