From a18f2216381cd98f4c5b8d472642dbea8b18a54e Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Fri, 5 Nov 2021 18:01:56 +0530 Subject: [PATCH] rpi: RaspberryPi4 specific build changes on 4.16.0.0 RC3 Just changes debian pkg name and bundles arm64 systemvmtemplate Signed-off-by: Rohit Yadav --- debian/changelog | 6 ++++++ debian/rules | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 0c50dfa3fd5..57df83f3457 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cloudstack (4.16.0.0-arm64) unstable; urgency=low + + * Update the version to 4.16.0.0-arm64 + + -- the Apache CloudStack project Thu, 04 Nov 2021 14:14:57 -0300 + cloudstack (4.16.0.0) unstable; urgency=low * Update the version to 4.16.0.0 diff --git a/debian/rules b/debian/rules index ed1559a46df..6eaf67ca85b 100755 --- a/debian/rules +++ b/debian/rules @@ -81,6 +81,10 @@ override_dh_auto_install: cp client/target/lib/*jar $(DESTDIR)/usr/share/$(PACKAGE)-management/lib/ cp -r engine/schema/dist/systemvm-templates/* $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/ rm -rf $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/md5sum.txt + # Bundle KVM-only ARM64 template for oss build + sed -i 's/2f3747a597396d4ee6a2605648808d1a/ab1e9b361a33dfce301ada4587e7b155/g' $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/metadata.ini || true + sed -i 's/systemvmtemplate-4.16.0-kvm.qcow2.bz2/systemvmtemplate-4.16.0-kvm.qcow2/g' $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/metadata.ini || true + wget https://download.cloudstack.org/rpi4/systemvmtemplate/4.16/systemvmtemplate-4.16.0-kvm-arm64.qcow2 -O $(DESTDIR)/usr/share/$(PACKAGE)-management/templates/systemvm/systemvmtemplate-4.16.0-kvm.qcow2 # nast hack for a couple of configuration files mv $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/server/cloudstack-limits.conf $(DESTDIR)/$(SYSCONFDIR)/security/limits.d/