make sure the timestamp file is the same for all arches in case koji freaks out
This commit is contained in:
parent
824654b955
commit
8db4eb6564
2 changed files with 6 additions and 4 deletions
|
@ -9,6 +9,8 @@ DATE=$(date -Ih | sed 's/+.*//')
|
|||
|
||||
KOJIDIR=/mnt/fedora/app/fi-repo/centos/stream8-kojitarget
|
||||
DATEDIR=${KOJIDIR}/${DATE}
|
||||
TIME_FILE=${DATEDIR}/timestamp
|
||||
touch ${TIME_FILE}
|
||||
|
||||
##
|
||||
## Make a directory for where the new tree will live. Use a new date
|
||||
|
@ -71,8 +73,7 @@ for ARCH in ${ARCHES}; do
|
|||
# Go into the main tree
|
||||
pushd CS-8-001
|
||||
|
||||
touch timestamp
|
||||
find . -type f -print | xargs touch -r timestamp
|
||||
find . -type f -print | xargs touch -r ${TIME_FILE}
|
||||
# Mergerepo didn't work so lets just createrepo in the top directory.
|
||||
createrepo_c . &> /dev/null
|
||||
popd
|
||||
|
|
|
@ -8,6 +8,8 @@ ARCHES="aarch64 ppc64le s390x x86_64"
|
|||
DATE=$(date -Ih | sed 's/+.*//')
|
||||
|
||||
DATEDIR=${HOMEDIR}/koji/${DATE}
|
||||
TIME_FILE=${DATEDIR}/timestamp
|
||||
touch ${TIME_FILE}
|
||||
|
||||
##
|
||||
## Make a directory for where the new tree will live. Use a new date
|
||||
|
@ -68,8 +70,7 @@ for ARCH in ${ARCHES}; do
|
|||
# Go into the main tree
|
||||
pushd RHEL-8-001
|
||||
|
||||
touch timestamp
|
||||
find . -type f -print | xargs touch -r timestamp
|
||||
find . -type f -print | xargs touch -r ${TIME_FILE}
|
||||
# Mergerepo didn't work so lets just createrepo in the top directory.
|
||||
createrepo_c . &> /dev/null
|
||||
popd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue