MT#10697 Add ngcpppainstaller boot option

It allows to test scenarios where ngcp-installer is comming from one PPA
while other packages (like ngcp-templates) are comming from another PPA.

By default NGCP_PPA_INSTALLER is equal to NGCP_PPA,
so we still can define one boot option only:
> ngcpppa=gerrit_MT12345_review777
while for some cases it is useful to define:
> ngcpppa=gerrit_MT12345_review777 ngcpppainstaller=gerrit_MT54321_review778

Change-Id: Icf2fee70db1beaae08e9d9c3eba87c5a836661b7
changes/65/1565/1
Alexander Lutay 10 years ago
parent 5d64bd1dcc
commit 87927cf1fc

@ -598,6 +598,11 @@ fi
if checkBootParam ngcpppa ; then
NGCP_PPA=$(getBootParam ngcpppa)
NGCP_PPA_INSTALLER="${NGCP_PPA_INSTALLER:-${NGCP_PPA}}"
fi
if checkBootParam ngcpppainstaller ; then
NGCP_PPA_INSTALLER=$(getBootParam ngcpppainstaller)
fi
## }}}
@ -1390,8 +1395,8 @@ get_installer_path() {
INSTALLER_PATH="http://${SIPWISE_REPO_HOST}/autobuild/pool/main/n/ngcp-installer/"
fi
if [ -n "$NGCP_PPA" ] ; then
local repos_base_path="http://${SIPWISE_REPO_HOST}/autobuild/dists/${NGCP_PPA}/main/binary-amd64/"
if [ -n "$NGCP_PPA_INSTALLER" ] ; then
local repos_base_path="http://${SIPWISE_REPO_HOST}/autobuild/dists/${NGCP_PPA_INSTALLER}/main/binary-amd64/"
INSTALLER_PATH="http://${SIPWISE_REPO_HOST}/autobuild/pool/main/n/ngcp-installer/"
fi

Loading…
Cancel
Save