Update stx-horizon to include starlingx-dashboard themes

Update the stx-horizon image build directives file to include
starlingx-dashboard module in the image, and to add a customization
hook to copy the themes to a common location.

Change-Id: I1684eebc31e977ee02c95d8ba7ec6cd11f3244cb
Story: 2004520
Task: 28588
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Angie Wang 2018-12-19 09:20:06 -06:00 committed by Don Penney
parent c5ba3f8ae4
commit 1bfd984e70
1 changed files with 3 additions and 2 deletions

View File

@ -5,10 +5,11 @@ PROJECT_REPO=https://github.com/starlingx-staging/stx-horizon.git
PIP_PACKAGES="pycrypto python-ceilometerclient python-cephclient \
sm_client cgtsclient cgcs_patch sysinv nfv_client \
tsconfig coverage pyudev fm_api fm_core configutilities platform_util \
controllerconfig ldap distributedcloud_client pylint"
controllerconfig ldap distributedcloud_client starlingx-dashboard pylint"
PROFILES="fluent horizon apache"
CUSTOMIZATION="\
ln -s /bin/true /usr/bin/a2enmod && \
sed -i 's/Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf \
sed -i 's/Listen 80/#Listen 80/' /etc/httpd/conf/httpd.conf && \
cp -r /var/lib/openstack/lib/python2.7/site-packages/starlingx_dashboard/themes/starlingx/ /var/lib/openstack/lib/python2.7/site-packages/openstack_dashboard/themes/starlingx/ \
"