Update stx-horizon.master to include starlingx-dashboard

Update the stx-horizon.master 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.

Depends-On: I5339c875ff7bec8a1b516b54819b7a7667895cee
Change-Id: I563a7bf68f9c125fffd35bc857c8853d5efaa3b9
Story: 2004520
Task: 28728
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney 2019-01-04 13:51:09 -05:00
parent a2ed44be0c
commit ffb531fa70
1 changed files with 3 additions and 2 deletions

View File

@ -4,10 +4,11 @@ PROJECT=horizon
PROJECT_REPO=https://github.com/openstack/horizon.git
PIP_PACKAGES="pycrypto python-ceilometerclient \
coverage pyudev \
ldap pylint"
ldap 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 && \
ln -s /var/lib/openstack/lib/python2.7/site-packages/starlingx_dashboard/themes/starlingx /var/lib/openstack/lib/python2.7/site-packages/openstack_dashboard/themes/starlingx \
"