summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-09-30 14:49:13 +0200
committerRemi Collet <remi@remirepo.net>2019-09-30 14:49:13 +0200
commit831ee1ca8a6d332c6c2bb56025f967fa4215c03b (patch)
tree91d943821126d63ff818643787155af7925336fa
parentb1fd573ef83c1cca7ba7d46cd033a9f56139b30e (diff)
handle aarch64 repo (noarch only)
-rwxr-xr-xgetmock3
-rwxr-xr-xmkallrepo3
2 files changed, 5 insertions, 1 deletions
diff --git a/getmock b/getmock
index 577d851..628ebb2 100755
--- a/getmock
+++ b/getmock
@@ -176,6 +176,9 @@ do
[ -d ${cible}armhfp ] \
&& ln ${cible}x86_64/$j ${cible}armhfp/$j \
&& echo + $i linked armhfp
+ [ -d ${cible}aarch64 ] \
+ && ln ${cible}x86_64/$j ${cible}aarch64/$j \
+ && echo + $i linked aarch64
fi
;;
*.i?86.rpm)
diff --git a/mkallrepo b/mkallrepo
index fc0cf27..9794370 100755
--- a/mkallrepo
+++ b/mkallrepo
@@ -75,13 +75,14 @@ then echo "== Création des liens (noarch) =="
srce=${srce/\/ppc/\/x86_64}
srce=${srce/\/i386/\/x86_64}
srce=${srce/\/armhfp/\/x86_64}
+ srce=${srce/\/aarch64/\/x86_64}
ln -f $srce $dest && echo $dest
done
else echo "Rien à lier."
fi
-for dep in SRPMS fedora/{29,30,31}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp}
+for dep in SRPMS fedora/{29,30,31}/*/{i386,x86_64} enterprise/{6,7,8}/*/{i386,x86_64,armhfp,aarch64}
do
[[ $dep =~ /modular ]] && continue