mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
copy takes up lots of disk space and is 2x slower. move back to hardlink
This commit is contained in:
@@ -43,22 +43,22 @@ for ARCH in ${ARCHES}; do
|
||||
fi
|
||||
|
||||
# Begin splitting the various packages into their subtrees
|
||||
${BINDIR}/splitter.py --action copy --target CS-8-001 ${HOMEDIR}/BaseOS/${ARCH}/os/ --only-defaults &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target CS-8-001 ${HOMEDIR}/BaseOS/${ARCH}/os/ --only-defaults &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} baseos failed"
|
||||
exit
|
||||
fi
|
||||
${BINDIR}/splitter.py --action copy --target CS-8-002 ${HOMEDIR}/AppStream/${ARCH}/os/ --only-defaults &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target CS-8-002 ${HOMEDIR}/AppStream/${ARCH}/os/ --only-defaults &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} appstream failed"
|
||||
exit
|
||||
fi
|
||||
${BINDIR}/splitter.py --action copy --target CS-8-003 ${HOMEDIR}/PowerTools/${ARCH}/os/ &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target CS-8-003 ${HOMEDIR}/PowerTools/${ARCH}/os/ &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} codeready failed"
|
||||
exit
|
||||
fi
|
||||
${BINDIR}/splitter.py --action copy --target CS-8-004 ${HOMEDIR}/Devel/${ARCH}/os/ &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target CS-8-004 ${HOMEDIR}/Devel/${ARCH}/os/ &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} devel failed"
|
||||
exit
|
||||
|
||||
@@ -46,17 +46,17 @@ for ARCH in ${ARCHES}; do
|
||||
fi
|
||||
|
||||
# Begin splitting the various packages into their subtrees
|
||||
${BINDIR}/splitter.py --action copy --target RHEL-8-001 ${ARCHDIR}/rhel-8-for-${ARCH}-baseos-rpms/ --only-defaults &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target RHEL-8-001 ${ARCHDIR}/rhel-8-for-${ARCH}-baseos-rpms/ --only-defaults &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} baseos failed"
|
||||
exit
|
||||
fi
|
||||
${BINDIR}/splitter.py --action copy --target RHEL-8-002 ${ARCHDIR}/rhel-8-for-${ARCH}-appstream-rpms/ --only-defaults &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target RHEL-8-002 ${ARCHDIR}/rhel-8-for-${ARCH}-appstream-rpms/ --only-defaults &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} appstream failed"
|
||||
exit
|
||||
fi
|
||||
${BINDIR}/splitter.py --action copy --target RHEL-8-003 ${ARCHDIR}/codeready-builder-for-rhel-8-${ARCH}-rpms/ &> /dev/null
|
||||
${BINDIR}/splitter.py --action hardlink --target RHEL-8-003 ${ARCHDIR}/codeready-builder-for-rhel-8-${ARCH}-rpms/ &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "splitter ${ARCH} codeready failed"
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user