2 ## Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 DESCRIPTION = "stx-gui"
18 PACKAGES = "starlingx-dashboard"
22 SRCREV = "d1c22e49a95f92e91049b96f44e685f46785977c"
26 LICENSE = "Apache-2.0"
28 LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
32 SRC_URI = "git://opendev.org/starlingx/gui.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
34 inherit distutils python-dir
41 #RDEPENDS_starlingx-dashboard += " \
42 # openstack-dashboard \
45 RDEPENDS_starlingx-dashboard_append = " \
46 ${PYTHON_PN}-cephclient \
50 cd ${S}/starlingx-dashboard/starlingx-dashboard
51 distutils_do_configure
56 cd ${S}/starlingx-dashboard/starlingx-dashboard
62 cd ${S}/starlingx-dashboard/starlingx-dashboard
64 #install -d -m 0755 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/enabled/
65 #install -d -m 0755 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/themes/starlingx/
66 #install -d -m 0755 ${D}/${datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d
67 #install -p -D -m 755 build/lib/starlingx_dashboard/enabled/* \
68 # ${D}/${datadir}/openstack-dashboard/openstack_dashboard/enabled/
69 #install -p -D -m 755 build/lib/starlingx_dashboard/themes/* \
70 # ${D}/${datadir}/openstack-dashboard/openstack_dashboard/themes/starlingx_dashboard
71 #install -p -D -m 755 build/lib/starlingx_dashboard/local/local_settings.d/* \
72 # ${D}/${datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.d
75 FILES_starlingx-dashboard = " \
76 ${PYTHON_SITEPACKAGES_DIR} \