GitHub user bradh352 closed the discussion with a comment: Building Cloudstack DEB packages for Ubuntu
looks like some things don't work with the builds because it doesn't include the non-free extensions. Like going to physical network for a zone and trying to look at or toggle the available providers won't let you do anything because it complains about Nexis missing. To fix that, build with the non-free stuff: ``` curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash - && \ sudo apt-get update && \ sudo apt-get install -y build-essential git devscripts debhelper openjdk-17-jdk libws-commons-util-java genisoimage libcommons-codec-java libcommons-httpclient-java liblog4j1.2-java maven nodejs python3-mysql.connector python2 python-setuptools jq && \ git clone --depth=1 https://github.com/shapeblue/cloudstack-nonoss.git nonoss && \ cd nonoss && \ bash -x install-non-oss.sh && \ cd .. && \ rm -rf nonoss && \ git clone --depth=1 -b 4.22.0.0 https://github.com/apache/cloudstack && \ wget https://patch-diff.githubusercontent.com/raw/apache/cloudstack/pull/11932.patch && \ wget https://patch-diff.githubusercontent.com/raw/apache/cloudstack/pull/11967.patch && \ wget https://patch-diff.githubusercontent.com/raw/apache/cloudstack/pull/12586.patch && \ cd cloudstack && \ git switch -c dev-build && \ git config user.email "[email protected]" && \ git am < ../11932.patch && \ git am < ../11967.patch && \ git am < ../12586.patch && \ ./tools/build/setnextversion.sh -v 4.22.0.4 -n -b dev-build -s $(pwd) && \ cd packaging && \ NODE_OPTIONS=--openssl-legacy-provider ACS_BUILD_OPTS="-DskipTests -Dnoredist -Dnonoss -T `nproc`" ./build-deb.sh ``` GitHub link: https://github.com/apache/cloudstack/discussions/12177#discussioncomment-15902154 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
