Skip to content

Commit

Permalink
(maint) RPM rsyncs failed while shipping today
Browse files Browse the repository at this point in the history
We don't want all the options --archive brings in, we actually only want
--recursive and --links. --archive was causing issues with timestamps on
symlinks. Manually syncing with --recursive and --links instead of
--archive allowed the rsync to run successfully.
  • Loading branch information
Morgan Rhodes committed Apr 27, 2016
1 parent 606b404 commit a716c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/packaging/rpm/repo.rb
Expand Up @@ -52,7 +52,8 @@ def repo_deployment_command(origin_path, destination_path, destination, dryrun =
# fail due to permission errors.
options = %w(
rsync
--archive
--recursive
--links
--hard-links
--update
--human-readable
Expand All @@ -65,7 +66,6 @@ def repo_deployment_command(origin_path, destination_path, destination, dryrun =
--no-perms
--no-owner
--no-group
--delay-updates
)

options << '--dry-run' if dryrun
Expand Down

0 comments on commit a716c23

Please sign in to comment.