* Revert changes to openstack-dashboard package.
Change-Id: I30e3f767dae68e6a23b09771a2a6661c76617991
Counter: #2
}
case $1 in
- openstack-dashboard|openstack-dashboard-apache|openstack-dashboard-common)
+ openstack-dashboard|openstack-dashboard-apache)
get_distr_name
- if [ "$DISTR" = "Ubuntu" ] && [ "$1" = "openstack-dashboard-common" ]; then
+ if [ "$DISTR" = "Ubuntu" ] && [ "$1" = "openstack-dashboard" ]; then
echo 'Test is not defined.'
exit 0
fi
Package: openstack-dashboard
Architecture: all
-Depends: openstack-dashboard-apache (= ${source:Version})
-Description: web application to control an OpenStack cloud
- The OpenStack Dashboard is a web application to control an OpenStack
- cloud. It connects to OpenStack services such as Nova, Swift, or Keystone
- using the OpenStack REST API just as you would with the command line
- clients.
-
-Package: openstack-dashboard-common
-Architecture: all
Depends: adduser,
libjs-jquery,
libjs-jquery-cookie,
Depends: apache2 (>= 2.4),
debconf,
libapache2-mod-wsgi (>= 2.3),
- openstack-dashboard-common,
+ openstack-dashboard,
${misc:Depends},
Description: web application to control an OpenStack cloud - Apache support
The OpenStack Dashboard is a web application to control an OpenStack
clients.
.
This package includes the configuration files to use within Apache. If you
- wish to configure Apache yourself, use only openstack-dashboard-common.
+ wish to configure Apache yourself, use only openstack-dashboard.
Package: horizon-doc
Section: doc
cp -a $(CURDIR)/openstack_dashboard/ $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/
# Sets memcached by default in local_settings.py
- cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example $(CURDIR)/debian/openstack-dashboard-common/usr/share/openstack-dashboard/local_settings.py
- sed -i -e 's/os.path.join(LOCAL_PATH,/os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' $(CURDIR)/debian/openstack-dashboard-common/usr/share/openstack-dashboard/local_settings.py
- echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/openstack-dashboard-common/usr/share/openstack-dashboard/local_settings.py
- install -d -m 755 $(CURDIR)/debian/openstack-dashboard-common/var/lib/openstack-dashboard/static
+ cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py
+ sed -i -e 's/os.path.join(LOCAL_PATH,/os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py
+ echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py
+ install -d -m 755 $(CURDIR)/debian/openstack-dashboard/var/lib/openstack-dashboard/static
cp $(CURDIR)/manage.py \