[grobi] Fix bonehead sh script mistake. add in link
This commit is contained in:
parent
833a8d300e
commit
94fa772a04
1 changed files with 7 additions and 1 deletions
|
@ -10,7 +10,7 @@ if [ -d ${HOMEDIR}/${DATE} ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ARCH in ARCHES; do
|
for ARCH in ${ARCHES}; do
|
||||||
# The archdir is where we daily download updates for rhel8
|
# The archdir is where we daily download updates for rhel8
|
||||||
ARCHDIR=${HOMEDIR}/${ARCHES}
|
ARCHDIR=${HOMEDIR}/${ARCHES}
|
||||||
if [ ! -d ${ARCHDIR} ]; then
|
if [ ! -d ${ARCHDIR} ]; then
|
||||||
|
@ -37,6 +37,7 @@ for ARCH in ARCHES; do
|
||||||
|
|
||||||
# Copy the various module trees into RHEL-8-001 where we want them
|
# Copy the various module trees into RHEL-8-001 where we want them
|
||||||
# to work.
|
# to work.
|
||||||
|
echo "Moving data to ${ARCH}/RHEL-8-001"
|
||||||
cp -avlr RHEL-8-002/* RHEL-8-001
|
cp -avlr RHEL-8-002/* RHEL-8-001
|
||||||
cp -avlr RHEL-8-003/* RHEL-8-001
|
cp -avlr RHEL-8-003/* RHEL-8-001
|
||||||
# Go into the main tree
|
# Go into the main tree
|
||||||
|
@ -49,6 +50,7 @@ for ARCH in ARCHES; do
|
||||||
|
|
||||||
# Build out the repos we have and merge them together with
|
# Build out the repos we have and merge them together with
|
||||||
# mergerepo -k
|
# mergerepo -k
|
||||||
|
echo "Merge all the repos"
|
||||||
repos=""
|
repos=""
|
||||||
for i in $( ls -1 ); do
|
for i in $( ls -1 ); do
|
||||||
repos+="-r $i "
|
repos+="-r $i "
|
||||||
|
@ -60,3 +62,7 @@ for ARCH in ARCHES; do
|
||||||
rm -rf RHEL-8-002 RHEL-8-003
|
rm -rf RHEL-8-002 RHEL-8-003
|
||||||
#loop to the next
|
#loop to the next
|
||||||
done
|
done
|
||||||
|
|
||||||
|
## Set up the builds so they are pointing to the last working version
|
||||||
|
rm -f ${HOMEDIR}/latest
|
||||||
|
ln -s ${HOMEDIR}/${DATE} ${HOMEDIR}/latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue