1 DESCRIPTION = "stx-gui"
3 PACKAGES = "starlingx-dashboard"
7 SRCREV = "d1c22e49a95f92e91049b96f44e685f46785977c"
11 LICENSE = "Apache-2.0"
13 LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
17 SRC_URI = "git://opendev.org/starlingx/gui.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
19 inherit distutils python-dir
26 RDEPENDS_starlingx-dashboard += " \
27 python-django-horizon \
30 RDEPENDS_starlingx-dashboard_append = " \
31 ${PYTHON_PN}-cephclient \
35 cd ${S}/starlingx-dashboard/starlingx-dashboard
36 distutils_do_configure
41 cd ${S}/starlingx-dashboard/starlingx-dashboard
47 cd ${S}/starlingx-dashboard/starlingx-dashboard
50 install -d -m 0755 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/enabled/
51 install -d -m 0755 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/themes/starlingx/
52 install -d -m 0755 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d
53 cp -ra ${D}${PYTHON_SITEPACKAGES_DIR}/starlingx_dashboard/enabled/* \
54 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/enabled/
55 cp -ra ${D}${PYTHON_SITEPACKAGES_DIR}/starlingx_dashboard/themes/starlingx/* \
56 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/themes/starlingx/
57 cp -ra ${D}${PYTHON_SITEPACKAGES_DIR}/starlingx_dashboard/local/local_settings.d/* \
58 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d
59 # comment out this line with syntax error
60 sed -i -e 's|^OPENSTACK_NEUTRON_NETWORK|# &|' \
61 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d/_30_stx_local_settings.py
64 FILES_starlingx-dashboard = " \
65 ${PYTHON_SITEPACKAGES_DIR} \
66 ${datadir}/openstack-dashboard/openstack_dashboard \