From c4017756a5bba564ba5092443d44a52ea144e8e1 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Mon, 13 Apr 2020 20:07:48 +0200 Subject: [PATCH] ajout de la signature des paquets --- cp2mirror.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cp2mirror.sh b/cp2mirror.sh index 59658bd..9d9ea95 100644 --- a/cp2mirror.sh +++ b/cp2mirror.sh @@ -27,7 +27,10 @@ for X in 7 8 exit 1 fi fi - nice -n 19 gendistrib --nobadrpm --blind --skipmissingdir --mediacfg $MIRRORPATH/$X/$ARCH/media/media_info/media.cfg $MIRRORPATH/$X/$ARCH + nice -n 19 /usr/bin/gendistrib --nobadrpm --blind --skipmissingdir --mediacfg $MIRRORPATH/$X/$ARCH/media/media_info/media.cfg $MIRRORPATH/$X/$ARCH + nice -n 19 /usr/bin/createrepo_c /mnt/lalis/mirror/mageia/lalis/$X/ } } -chmod a+rX -R . +chmod a+rX -R . +echo "signing rpms" +find $MIRRORPATH -name "*.rpm" -exec rpmsign --resign {} ";