Commit 51a0c3a44993167ffe1f30c027a0f10919f3cdb5

Authored by Silvan Calarco
1 parent b95cb79e69
Exists in master

More aarch64 support

Showing 3 changed files with 11 additions and 13 deletions Side-by-side Diff

1 1 #!/bin/bash
2 2 # automaint -- batch automatic maintainance tool of the autodist suite
3   -# Copyright (C) 2013-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
  3 +# Copyright (C) 2013-2020 by Silvan Calarco <silvan.calarco@mambasoft.it>
4 4 #
5 5 # Released under the terms of the GNU GPL release 3 license
6 6 #
7 7 VERSION=0.9.7
8 8 # First in vector is base arch
9   -ARCHS=(i586 arm x86_64)
10   -
11 9 . /etc/autodist/config
12 10  
13 11 me=(${0##*/} $VERSION "Sat Mar 20 2011")
... ... @@ -152,8 +150,8 @@
152 150  
153 151 [ "$TESTMODE" ] && echo "** TEST MODE enabled: no changes will be made **"
154 152  
155   -for a in `seq 1 ${#ARCHS[*]}`; do
156   - . $LOCAL_REPS_BASE_DIR/distromatic/$SOURCE_REPOSITORY/builds-${ARCHS[$a-1]}.sh
  153 +for a in `seq 1 ${#AUTODIST_ARCHS[*]}`; do
  154 + . $LOCAL_REPS_BASE_DIR/distromatic/$SOURCE_REPOSITORY/builds-${AUTODIST_ARCHS[$a-1]}.sh
157 155 pkglist[$a-1]="${pkg_list[*]}"
158 156 warningslist[$a-1]="${warnings_list[*]}"
159 157 needportlist[$a-1]="${needport_list[*]}"
... ... @@ -164,7 +162,7 @@
164 162 exit 1
165 163 }
166 164  
167   -for a in `seq 1 ${#ARCHS[*]}`; do
  165 +for a in `seq 1 ${#AUTODIST_ARCHS[*]}`; do
168 166 echo -n "${pkglist[$a-1]} " >> $tmpfile
169 167 done
170 168 allpkgs="`cat $tmpfile | xargs -n 1 | sort -u | xargs`"
171 169  
... ... @@ -179,10 +177,10 @@
179 177 done
180 178 [ "$pkgcontinue" ] && continue
181 179  
182   - for a in `seq 1 ${#ARCHS[*]}`; do
183   - get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$PORT_REPOSITORY ${ARCHS[$a-1]} $p
  180 + for a in `seq 1 ${#AUTODIST_ARCHS[*]}`; do
  181 + get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$PORT_REPOSITORY ${AUTODIST_ARCHS[$a-1]} $p
184 182 if [ ! "$pkg_name" ]; then
185   - get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$DEST_REPOSITORY ${ARCHS[$a-1]} $p
  183 + get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$DEST_REPOSITORY ${AUTODIST_ARCHS[$a-1]} $p
186 184 fi
187 185  
188 186 if [ "$pkg_name" ]; then
... ... @@ -204,8 +202,8 @@
204 202 done
205 203 [ "$needsport" -a ! "$PORT_REPOSITORY" ] && continue
206 204  
207   - for a in `seq 1 ${#ARCHS[*]}`; do
208   - get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$SOURCE_REPOSITORY ${ARCHS[$a-1]} $p
  205 + for a in `seq 1 ${#AUTODIST_ARCHS[*]}`; do
  206 + get_pkg_buildinfo $LOCAL_REPS_BASE_DIR/distromatic/$SOURCE_REPOSITORY ${AUTODIST_ARCHS[$a-1]} $p
209 207 [ "$pkg_name" ] && break
210 208 done
211 209  
1 1 #!/bin/bash
2 2 # autoport -- batch cross-build tool based on autodist
3   -# Copyright (C) 2011-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
  3 +# Copyright (C) 2011-2020 by Silvan Calarco <silvan.calarco@mambasoft.it>
4 4 #
5 5 # Released under the terms of the GNU GPL release 3 license
6 6 #
1 1 # Global configuration file for autodist
2 2 #
3   -AUTODIST_ARCHS=(i586 x86_64 arm)
  3 +AUTODIST_ARCHS=(i586 x86_64 arm aarch64)
4 4 SITE_BASE_URL=http://www.openmamba.org
5 5 REPS_BASE_URL=${SITE_BASE_URL}/pub/openmamba
6 6 LOCAL_REPS_BASE_DIR=/var/ftp/pub/openmamba