GitHub user bradh352 closed the discussion with a comment: Building Cloudstack DEB packages for Ubuntu
More complete command list here showing also how to set a different version: ``` 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 -b 4.22.0.0 --depth=1 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 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.2 -n -b 4.22.0.0 -s $(pwd) && \ cd packaging && \ NODE_OPTIONS=--openssl-legacy-provider ACS_BUILD_OPTS="-DskipTests -T `nproc`" ./build-deb.sh ``` GitHub link: https://github.com/apache/cloudstack/discussions/12177#discussioncomment-15697922 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
