summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-15 14:59:27 +0100
committerRemi Collet <remi@remirepo.net>2018-01-15 14:59:27 +0100
commit5c337af7fff401e742a274bdfc181c38523de67c (patch)
tree7b8f99f1a0be07ade935b90d3c2f542a835cc2ac
parent358505da615f0f5487f812115742952c9520ea7b (diff)
also populate armhfp repo (EL-7)
-rwxr-xr-xgetmock3
-rwxr-xr-xmkallrepo3
2 files changed, 6 insertions, 0 deletions
diff --git a/getmock b/getmock
index 0720fe0..ac044e2 100755
--- a/getmock
+++ b/getmock
@@ -128,6 +128,9 @@ do
[ -d ${cible}i386 ] \
&& ln ${cible}x86_64/$j ${cible}i386/$j \
&& echo + $i linked x86_64
+ [ -d ${cible}armhfp ] \
+ && ln ${cible}x86_64/$j ${cible}armhfp/$j \
+ && echo + $i linked armhfp
fi
;;
*.i?86.rpm)
diff --git a/mkallrepo b/mkallrepo
index 616d251..b726da1 100755
--- a/mkallrepo
+++ b/mkallrepo
@@ -2,7 +2,9 @@
TMPSIG=$(mktemp)
TMPLNK=$(mktemp)
+TMPSIG1=$(mktemp)
TMPSIG2=$(mktemp)
+TMPSIG3=$(mktemp)
cd /home/rpmbuild/site/rpms
@@ -69,6 +71,7 @@ then echo "== Création des liens (noarch) =="
srce=${dest/\/ppc64/\/x86_64}
srce=${srce/\/ppc/\/x86_64}
srce=${srce/\/i386/\/x86_64}
+ srce=${srce/\/armhfp/\/x86_64}
ln -f $srce $dest && echo $dest
done