add sig to list generation
This commit is contained in:
parent
3213b953c7
commit
6150eed168
@ -18,9 +18,13 @@ if [ $ret_val -eq "0" ]; then
|
||||
echo "Starting full file list for root"
|
||||
cd "${PRODUCTION_ROOT}/" || { echo "Failed to change directory"; exit 1; }
|
||||
find . > "${PRODUCTION_ROOT}/fullfilelist" & ROOTPID=$!
|
||||
echo "Starting full file list for sig"
|
||||
cd "${PRODUCTION_ROOT}/${SIG_CATEGORY_STUB}" || { echo "Failed to change directory"; exit 1; }
|
||||
find . > "${PRODUCTION_ROOT}/${SIG_CATEGORY_STUB}/fullfilelist" & SIGPID=$!
|
||||
|
||||
wait $CATEPID
|
||||
wait $ROOTPID
|
||||
wait $SIGPID
|
||||
|
||||
echo "Generating filelist for quick-fedora-mirror users"
|
||||
if [[ -f /usr/local/bin/create-filelist ]]; then
|
||||
@ -29,13 +33,17 @@ if [ $ret_val -eq "0" ]; then
|
||||
/bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old
|
||||
/usr/local/bin/create-filelist > fullfiletimelist-rocky & CREALIPID=$!
|
||||
|
||||
# We're already here, but Justin Case wanted this
|
||||
cd "${PRODUCTION_ROOT}/" || { echo "Failed to change directory"; exit 1; }
|
||||
/bin/cp fullfiletimelist-rocky fullfiletimelist-rocky-old
|
||||
/usr/local/bin/create-filelist > fullfiletimelist-rocky & ROOTLIPID=$!
|
||||
|
||||
cd "${PRODUCTION_ROOT}/${SIG_CATEGORY_STUB}" || { echo "Failed to change directory"; exit 1; }
|
||||
/bin/cp fullfiletimelist-sig fullfiletimelist-sig-old
|
||||
/usr/local/bin/create-filelist > fullfiletimelist-sig & SIGLIPID=$!
|
||||
|
||||
wait $CREALIPID
|
||||
wait $ROOTLIPID
|
||||
wait $SIGLIPID
|
||||
|
||||
cd "${PRODUCTION_ROOT}/${CATEGORY_STUB}/" || { echo "Failed to change directory"; exit 1; }
|
||||
chown 10004:10005 fullfilelist fullfiletimelist-rocky fullfiletimelist fullfiletimelist-rocky-linux
|
||||
@ -45,7 +53,10 @@ if [ $ret_val -eq "0" ]; then
|
||||
cd "${PRODUCTION_ROOT}/" || { echo "Failed to change directory"; exit 1; }
|
||||
chown 10004:10005 fullfilelist fullfiletimelist-rocky fullfiletimelist
|
||||
cp fullfiletimelist-rocky fullfiletimelist
|
||||
fi
|
||||
|
||||
cd "${PRODUCTION_ROOT}/${SIG_CATEGORY_STUB}" || { echo "Failed to change directory"; exit 1; }
|
||||
chown 10004:10005 fullfilelist fullfiletimelist-sig fullfiletimelist
|
||||
cp fullfiletimelist-sig fullfiletimelist
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user