mockbuild: Remove rsync
Although rsync works just fine, it would reduce our package list if we just used `cp` to create the latest repo. Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
fe1777102e
commit
8da3d58213
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ fi
|
|||
|
||||
# Install requirements for building RPMs in mock.
|
||||
greenprint "📦 Installing mock requirements"
|
||||
sudo dnf -y install createrepo_c make mock python3-pip rpm-build rsync
|
||||
sudo dnf -y install createrepo_c make mock python3-pip rpm-build
|
||||
|
||||
# Install s3cmd if it is not present.
|
||||
if ! s3cmd --version > /dev/null 2>&1; then
|
||||
|
|
@ -104,7 +104,7 @@ createrepo_c ${REPO_DIR}
|
|||
|
||||
# Copy the current build to the latest directory.
|
||||
mkdir -p $REPO_DIR_LATEST
|
||||
rsync -a ${REPO_DIR}/ ${REPO_DIR_LATEST}/
|
||||
cp -arv ${REPO_DIR}/ ${REPO_DIR_LATEST}/
|
||||
|
||||
# Remove the previous latest build for this branch.
|
||||
# Don't fail if the path is missing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue