rhtyd commented on a change in pull request #4605:
URL: https://github.com/apache/cloudstack/pull/4605#discussion_r561168505



##########
File path: debian/rules
##########
@@ -93,6 +93,12 @@ override_dh_auto_install:
        install -m0644 packaging/systemd/$(PACKAGE)-management.service 
debian/$(PACKAGE)-management/lib/systemd/system/$(PACKAGE)-management.service
        install -m0644 packaging/systemd/$(PACKAGE)-management.default 
$(DESTDIR)/$(SYSCONFDIR)/default/$(PACKAGE)-management
 
+       # cloudstack-ui
+       mkdir -p $(DESTDIR)/usr/share/$(PACKAGE)-ui
+       cd ui && npm install && npm run build && cd ..

Review comment:
       The problem is that nodejs may not be available in default/main repo of 
the distros. Should we document it on docs and install.md?

##########
File path: debian/rules
##########
@@ -93,6 +93,12 @@ override_dh_auto_install:
        install -m0644 packaging/systemd/$(PACKAGE)-management.service 
debian/$(PACKAGE)-management/lib/systemd/system/$(PACKAGE)-management.service
        install -m0644 packaging/systemd/$(PACKAGE)-management.default 
$(DESTDIR)/$(SYSCONFDIR)/default/$(PACKAGE)-management
 
+       # cloudstack-ui
+       mkdir -p $(DESTDIR)/usr/share/$(PACKAGE)-ui
+       cd ui && npm install && npm run build && cd ..

Review comment:
       Added, but that won't be satisfied automatically chances are somebody 
will install older version of nodejs.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to