n-api also requires glance for now

make sure to install it's dependencies

Change-Id: I05b34709aa94048a2f4f80e8d46b2f61c95ed81a
This commit is contained in:
Sean Dague
2012-05-01 16:43:15 -04:00
parent 96c984e31d
commit f106240ca5

View File

@@ -586,7 +586,16 @@ function get_packages() {
if [[ -e ${package_dir}/${service} ]]; then
file_to_parse="${file_to_parse} $service"
fi
if [[ $service == n-* ]]; then
# NOTE(sdague) n-api needs glance for now because that's where
# glance client is
if [[ $service == n-api ]]; then
if [[ ! $file_to_parse =~ nova ]]; then
file_to_parse="${file_to_parse} nova"
fi
if [[ ! $file_to_parse =~ glance ]]; then
file_to_parse="${file_to_parse} glance"
fi
elif [[ $service == n-* ]]; then
if [[ ! $file_to_parse =~ nova ]]; then
file_to_parse="${file_to_parse} nova"
fi