File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ if [ "$1" = configure ]; then
5656 chmod 0640 ${CONFDIR} /${DBPROPS}
5757 chgrp cloud ${CONFDIR} /${DBPROPS}
5858 chown -R cloud:cloud /var/log/cloudstack/management
59+ chown -R cloud:cloud /usr/share/cloudstack-management/templates
5960
6061 ln -sf ${CONFDIR} /log4j-cloud.xml ${CONFDIR} /log4j2.xml
6162
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ override_dh_auto_install:
8484 cp client/target/lib/*jar $(DESTDIR)/usr/share/$(PACKAGE)-management/lib/
8585 cp -r engine/schema/dist/systemvm-templates/* $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/
8686 rm -rf $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/md5sum.txt
87- chown -R cloud:cloud /usr/share/$(PACKAGE)-management/templates/systemvm
8887
8988 # Bundle cmk in cloudstack-management
9089 wget https://github.com/apache/cloudstack-cloudmonkey/releases/download/$(CMK_REL)/cmk.linux.x86-64 -O $(DESTDIR)/usr/bin/cmk
Original file line number Diff line number Diff line change @@ -610,8 +610,8 @@ pip3 install --upgrade /usr/share/cloudstack-marvin/Marvin-*.tar.gz
610610%{_datadir }/%{name }-management/setup/* .sh
611611%{_datadir }/%{name }-management/setup/server-setup.xml
612612%{_datadir }/%{name }-management/webapp/*
613- %dir %attr(0770, cloud, cloud) %{_datadir }/%{name }-management/templates/systemvm
614- %attr(0644, cloud, cloud) %{_datadir }/%{name }-management/templates/systemvm/ *
613+ %dir %attr(0770, cloud, cloud) %{_datadir }/%{name }-management/templates
614+ %attr(0644, cloud, cloud) %{_datadir }/%{name }-management/templates/*
615615%attr(0755,root,root) %{_bindir }/%{name }-external-ipallocator.py
616616%attr(0755,root,root) %{_initrddir }/%{name }-ipallocator
617617%dir %attr(0770,root,root) %{_localstatedir }/log/%{name }/ipallocator
You can’t perform that action at this time.
0 commit comments