From 859aa3b87686f72ea10926d3871c130e57ab0bb5 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Sun, 15 Apr 2018 18:21:08 -0500 Subject: [PATCH] include cache-devstack only if not gentoo Change-Id: I797ed59acaa345ad688e0299632a539a72e70cf6 --- tools/build-image.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/build-image.sh b/tools/build-image.sh index 19f192b55c..bd5c591c4e 100755 --- a/tools/build-image.sh +++ b/tools/build-image.sh @@ -57,6 +57,10 @@ if [[ ${DISTRO} == "centos-minimal" ]]; then export DIB_EPEL_DISABLED=1 fi +# cache-devstack does not work on gentoo, so exclude it from the element list +if [[ "${DISTRO}" != "gentoo" ]]; then + EXTRA_ELEMENTS+="cache-devstack " +fi ## If your firewall won't allow outbound DNS connections, you'll want ## to set these to local resolvers @@ -120,7 +124,6 @@ disk-image-create -x --no-tmpfs -o $IMAGE_NAME \ simple-init \ openstack-repos \ nodepool-base \ - cache-devstack \ growroot \ infra-package-needs \ $EXTRA_ELEMENTS