Skip to content
Snippets Groups Projects

[LOS-1028] Continue...

Merged Marta Vila Fernandes requested to merge los1028 into master
+ 9
0
@@ -397,13 +397,16 @@ do
then
echo -e $CYAN "*** Generating $DIST/$REPO/$ARCHES repos at: `/bin/date`" | /usr/bin/tee -a $LOG
tput sgr0
find $TOPDIRREPO/updates/$ARCHES/RPMS/ -name .repodata -printf "removed '%f'\n" -delete
echo " -> createrepo $ARCHES $REPO" | /usr/bin/tee -a $LOG
$CREATEREPO $CACHE/yum/$ARCHES/$REPO $CREATEREPOARGS $TOPDIRREPO/updates/$ARCHES/RPMS | /usr/bin/tee -a $LOG
echo " -> yum source repos"
tput sgr0
find $TOPDIRREPO/updates/$ARCHES/SRPMS/ -name .repodata -printf "removed '%f'\n" -delete
$CREATEREPO $CACHE/yum/$ARCHES/$REPO $CREATEREPOARGS $TOPDIRREPO/updates/$ARCHES/SRPMS | /usr/bin/tee -a $LOG
echo " -> yum debug repos"
tput sgr0
find $TOPDIRREPO/updates/$ARCHES/debug/ -name .repodata -printf "removed '%f'\n" -delete
$CREATEREPO $CACHE/yum/$ARCHES/$REPO $CREATEREPOARGS $TOPDIRREPO/updates/$ARCHES/debug | /usr/bin/tee -a $LOG
fi
continue
@@ -415,13 +418,16 @@ do
then
echo -e $CYAN "*** Generating $DIST/$REPO/$ARCHES repos at: `/bin/date`" | /usr/bin/tee -a $LOG
tput sgr0
find $TOPDIRREPO/updates/$ARCHES/testing/RPMS/ -name .repodata -printf "removed '%f'\n" -delete
echo " -> createrepo $ARCHES $REPO" | /usr/bin/tee -a $LOG
$CREATEREPO $CACHE/yum/$ARCHES/$REPO $CREATEREPOARGS $TOPDIRREPO/updates/$ARCHES/testing/RPMS | /usr/bin/tee -a $LOG
echo " -> yum source repos"
tput sgr0
find $TOPDIRREPO/updates/$ARCHES/testing/SRPMS/ -name .repodata -printf "removed '%f'\n" -delete
$CREATEREPO $CACHE/yum/$ARCHES/$REPO $CREATEREPOARGS $TOPDIRREPO/updates/$ARCHES/testing/SRPMS | /usr/bin/tee -a $LOG
echo " -> yum debug repos"
tput sgr0
find $TOPDIRREPO/updates/$ARCHES/testing/debug/ -name .repodata -printf "removed '%f'\n" -delete
$CREATEREPO $CACHE/yum/$ARCHES/$REPO $CREATEREPOARGS $TOPDIRREPO/updates/$ARCHES/testing/debug | /usr/bin/tee -a $LOG
fi
continue
@@ -454,6 +460,7 @@ do
# Generate debug info repository
if [ $REPO == "updates" ] || [ $REPO == "testing" ] || [ $REPO == "extras" ] || [ $REPO == "mrg" ] || [ $REPO == "devtoolset" ] || [ $REPO == "devtoolset-testing" ] || [ $REPO == "mrg" ] || [ $REPO == "mrg-testing" ] || [ $REPO == "rhcommon" ] || [ $REPO == "rhcommon-testing" ] || [ $REPO == "scl" ] || [ $REPO == "scl-testing" ] || [ $REPO == "ev" ] || [ $REPO == "ev-testing" ] || [ $REPO == "jbeap-testing" ] || [ $REPO == "jbeap" ]
then
find $TOPDIRREPO/$ARCH/yum/$REPO-debug/ -name .repodata -printf "removed '%f'\n" -delete
echo " -> createrepo $ARCH $REPO-debuginfo..." | /usr/bin/tee -a $LOG
echo "$CREATEREPO $CACHE/yum/$ARCH/$REPO-debug $CREATEREPOARGS $TOPDIRREPO/$ARCH/yum/$REPO-debug" | /usr/bin/tee -a $LOG
$CREATEREPO $CACHE/yum/$ARCH/$REPO-debug $CREATEREPOARGS $TOPDIRREPO/$ARCH/yum/$REPO-debug | /usr/bin/tee -a $LOG
@@ -464,6 +471,7 @@ do
else
CREATEREPOARGS="$CREATEREPOARGS"
fi
find $TOPDIRREPO/$ARCH/yum/$REPO/ -name .repodata -printf "removed '%f'\n" -delete
echo " -> createrepo $ARCH $REPO..."
echo "$CREATEREPO $CACHE/yum/$ARCH/$REPO $CREATEREPOARGS $TOPDIRREPO/$ARCH/yum/$REPO" | /usr/bin/tee -a $LOG
$CREATEREPO $CACHE/yum/$ARCH/$REPO $CREATEREPOARGS $TOPDIRREPO/$ARCH/yum/$REPO | /usr/bin/tee -a $LOG
@@ -495,6 +503,7 @@ do
then
CREATEREPOARGS="$CREATEREPOARGS -s sha"
fi
find $TOPDIRREPO/$ARCH/yum/$REPO-source/ -name .repodata -printf "removed '%f'\n" -delete
echo "$CREATEREPO $CACHE/yum/SRPMS/$REPO $CREATEREPOARGS $TOPDIRREPO/$ARCH/yum/$REPO-source" | /usr/bin/tee -a $LOG
$CREATEREPO $CACHE/yum/SRPMS/$REPO $CREATEREPOARGS $TOPDIRREPO/$ARCH/yum/$REPO-source | /usr/bin/tee -a $LOG
rm -rf $TOPDIRREPO/$ARCH/yum/$REPO-source/.olddata
Loading