-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Support Ubuntu 21.04 #5362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Ubuntu 21.04 #5362
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,7 @@ Source: cloudstack | |
Section: libs | ||
Priority: extra | ||
Maintainer: Wido den Hollander <[email protected]> | ||
Build-Depends: debhelper (>= 9), openjdk-11-jdk | java11-sdk | java11-jdk | zulu-11, genisoimage, | ||
python-mysql.connector | python3-mysql.connector, maven (>= 3) | maven3, python (>= 2.7), python3 (>= 3), nodejs (>= 12), lsb-release, dh-systemd, python-setuptools | ||
Build-Depends: debhelper (>= 9), openjdk-11-jdk | java11-sdk | java11-jdk | zulu-11, genisoimage, python3 (>= 3), lsb-release, python-setuptools | ||
Standards-Version: 3.8.1 | ||
Homepage: http://www.cloudstack.org/ | ||
|
||
|
@@ -22,7 +21,7 @@ Description: CloudStack server library | |
|
||
Package: cloudstack-agent | ||
Architecture: all | ||
Depends: ${python:Depends}, ${python3:Depends}, openjdk-11-jre-headless | java11-runtime-headless | java11-runtime | openjdk-11-jre-headless | zulu-11, cloudstack-common (= ${source:Version}), lsb-base (>= 9), openssh-client, qemu-kvm (>= 2.5), libvirt-bin (>= 1.3) | libvirt-daemon-system (>= 3.0), iproute2, ebtables, vlan, ipset, python3-libvirt, ethtool, iptables, lsb-release, aria2, ufw, apparmor | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You may want to replace qemu-kvm with qemu-system-x86 |
||
Depends: ${python:Depends}, ${python3:Depends}, openjdk-11-jre-headless | java11-runtime-headless | java11-runtime | openjdk-11-jre-headless | zulu-11, cloudstack-common (= ${source:Version}), lsb-base (>= 9), openssh-client, libvirt-bin (>= 1.3) | libvirt-daemon-system (>= 3.0), iproute2, ebtables, vlan, ipset, python3-libvirt, ethtool, iptables, lsb-release, aria2, ufw, apparmor | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tetra12 with this change we might get support for Ubuntu 21.04 but won't it break build for earlier versions? |
||
Recommends: init-system-helpers | ||
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts | ||
Description: CloudStack agent | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ override_dh_auto_install: | |
# cloudstack-ui | ||
mkdir $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/ui | ||
mkdir -p $(DESTDIR)/usr/share/$(PACKAGE)-ui | ||
cd ui && npm install && npm run build && cd .. | ||
cd ui && npm config set unsafe-perm true && npm install && npm rebuild node-sass --force && npm run build && cd .. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tetra12 are you using nodejs LTS? |
||
cp -r ui/dist/config.json $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/ui/ | ||
cp -r ui/dist/* $(DESTDIR)/usr/share/$(PACKAGE)-ui/ | ||
rm -f $(DESTDIR)/usr/share/$(PACKAGE)-ui/config.json | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of removing build dependencies - you want to find equivalent package names version