From 9b8766e3f3d3856edc14853c2a15242a7a564d3b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 23 Apr 2018 17:24:59 +0000 Subject: [PATCH] Add arm64 architecture --- config/distributions | 4 ++-- config/pbuilder/arm64.conf | 6 ++++++ config/rebuildd.conf | 2 +- config/rebuildd.default | 2 +- scripts/rebuildd/build-binaries | 5 +++++ 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 config/pbuilder/arm64.conf diff --git a/config/distributions b/config/distributions index cada58e..fcdd914 100644 --- a/config/distributions +++ b/config/distributions @@ -3,7 +3,7 @@ Label: YunoHost for Jessie Suite: stable Codename: jessie Version: 8.0 -Architectures: i386 amd64 armel armhf source +Architectures: i386 amd64 armel armhf arm64 source Components: stable testing unstable extra AlsoAcceptFor: jessie-stable jessie-testing jessie-unstable stable testing unstable Update: jessie-stable jessie-testing @@ -18,7 +18,7 @@ Label: YunoHost for Stretch Suite: testing Codename: stretch Version: 9.0 -Architectures: i386 amd64 armel armhf source +Architectures: i386 amd64 armel armhf arm64 source Components: stable testing unstable extra AlsoAcceptFor: stretch-stable stretch-testing stretch-unstable stable testing unstable Description: YunoHost repository for Debian Stretch diff --git a/config/pbuilder/arm64.conf b/config/pbuilder/arm64.conf new file mode 100644 index 0000000..9fac1e4 --- /dev/null +++ b/config/pbuilder/arm64.conf @@ -0,0 +1,6 @@ +# ARM-specific configuration + +DEBOOTSTRAP=debootstrap +#DEBOOTSTRAPOPTS=( '--variant=buildd' ) +ARCHITECTURE=arm64 + diff --git a/config/rebuildd.conf b/config/rebuildd.conf index 180a43c..a587e8e 100644 --- a/config/rebuildd.conf +++ b/config/rebuildd.conf @@ -10,7 +10,7 @@ dists = jessie stretch work_dir = /var/cache/rebuildd/build database_uri = sqlite:///var/lib/rebuildd/rebuildd.db build_more_recent = 1 -more_archs = i386 armhf all any +more_archs = i386 armhf arm64 all any no_system_arch = 0 [mail] diff --git a/config/rebuildd.default b/config/rebuildd.default index 8979d40..1e4be3b 100644 --- a/config/rebuildd.default +++ b/config/rebuildd.default @@ -3,6 +3,6 @@ START_REBUILDD_HTTPD=1 PBUILDER_BIN=/usr/sbin/pbuilder PBUILDER_CACHE_PATH="/var/cache/pbuilder" PBUILDER_MIRROR=https://ftp.debian.org/debian -ARCHS="amd64 i386 armhf" +ARCHS="amd64 i386 armhf arm64" DISTS="wheezy jessie stretch" ENABLE_BUILDER_MAINT=1 diff --git a/scripts/rebuildd/build-binaries b/scripts/rebuildd/build-binaries index 1f0cf69..11c48b5 100755 --- a/scripts/rebuildd/build-binaries +++ b/scripts/rebuildd/build-binaries @@ -50,6 +50,11 @@ then CONFIGFILE="--configfile $PBUILDER_CONF/armhf.conf" fi +if [[ $arch == "arm64" ]]; +then + CONFIGFILE="--configfile $PBUILDER_CONF/arm64.conf" +fi + pbuilder build \ --basetgz "${BASE_TGZ}" \ --debbuildopts "${DEBBUILDOPTS}" \