VirtualBox

Changeset 76659 in vbox


Ignore:
Timestamp:
Jan 6, 2019 6:56:10 PM (6 years ago)
Author:
vboxsync
Message:

/Makefile.kmk: Make rsync use the same ssh as we do for the command execution. [fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r76658 r76659  
    975975
    976976## Overridable rsh name.
    977 VBOX_RSYNC ?= rsync --rsh="$(VBOX_SSH_FOR_RSYNC)"
     977VBOX_RSYNC     ?= rsync --rsh="$(VBOX_SSH_FOR_RSYNC)"
     978VBOX_RSYNC_RSH ?= rsync
    978979
    979980##
     
    983984# @param    1   os name.
    984985# @param    2   arch or *.
    985 #
    986 VBOX_RSYNC_IN_FN = $(VBOX_RSYNC) -a -v --delete --delete-excluded --prune-empty-dirs \
     986# @param    3   rsh or empty
     987#
     988VBOX_RSYNC_IN_FN = $(if-expr "$(3)" != "rsh",$(VBOX_RSYNC),$(VBOX_RSYNC_RSH))\
     989        -a -v --delete --delete-excluded --prune-empty-dirs \
    987990        --exclude=*.pyc \
    988991        --exclude=.svn/ \
     
    11741177additions-build-os2.rsync-into-vm:
    11751178        -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
    1176         $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*) \
     1179        $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,rsh)\
    11771180                '--exclude=src/VBox/Additions/x11/**' \
    11781181                '--exclude=src/VBox/Additions/WINNT/**' \
     
    11881191additions-build-os2.rsync-out-of-vm: additions-build-os2.build-it
    11891192        -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
    1190         $(TIME) -- $(VBOX_RSYNC) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/os2.x86 ./out
     1193        $(TIME) -- $(VBOX_RSYNC_RSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_ADDITIONS_BUILD_SUBDIRNAME)/out/os2.x86 ./out
    11911194
    11921195.NOTPARALLEL: additions-build-os2.rsync-into-vm
     
    16901693validationkit-build-os2.rsync-into-vm:
    16911694        -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
    1692         $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*) \
     1695        $(TIME) -- $(call VBOX_RSYNC_IN_FN,os2,*,rsh) \
    16931696                '--exclude=src/VBox/Additions/x11/**' \
    16941697                '--exclude=src/VBox/Additions/WINNT/**' \
     
    17041707validationkit-build-os2.rsync-out-of-vm: validationkit-build-os2.build-it
    17051708        -$(VBOX_BLD_VM_OS2_KKILL_STUFF)
    1706         $(TIME) -- $(VBOX_RSYNC) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/os2.x86 ./out
     1709        $(TIME) -- $(VBOX_RSYNC_RSH) -v -a --delete rsync://vbox@$(VBOX_BLD_VM_OS2_IP)/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/os2.x86 ./out
    17071710
    17081711.PHONY:       validationkit-build-os2.rsync-into-vm validationkit-build-os2.rsync-out-of-vm validationkit-build-os2.build-it
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette