Add a generic post-prereq phase

This generic extra phase is handy for fixing up things like python
modules after pip is installed or other distro specific requirements.

Change-Id: I4a68b830cd98c6f93191dac1edd7de2a0381feaa
This commit is contained in:
Ian Wienand 2013-04-02 13:42:16 +11:00
parent 41f7485250
commit aa8242970d

View File

@ -538,6 +538,12 @@ source $TOP_DIR/tools/install_prereqs.sh
install_rpc_backend install_rpc_backend
# a place for distro-specific post-prereq workarounds
if [[ -f $TOP_DIR/tools/${DISTRO}/post-prereq.sh ]]; then
echo_summary "Running ${DISTRO} extra prereq tasks"
source $TOP_DIR/tools/${DISTRO}/post-prereq.sh
fi
if is_service_enabled $DATABASE_BACKENDS; then if is_service_enabled $DATABASE_BACKENDS; then
install_database install_database
fi fi