From aa8242970dc46da60d95ecbd3e8ee207409ff82f Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 2 Apr 2013 13:42:16 +1100 Subject: [PATCH] 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 --- stack.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stack.sh b/stack.sh index 497e8a1b71..93b7281a84 100755 --- a/stack.sh +++ b/stack.sh @@ -538,6 +538,12 @@ source $TOP_DIR/tools/install_prereqs.sh 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 install_database fi