I had this case with building Win7 box, which uses cygwin's sshd
This happened because there was a considerable delay (15-30 sec) between completion of scp (step 1.) and execution of exec (step 3.) commands when I just clicked on Cygwin icon on Windows desktop. Sorry, I didn't dig into this. This could be either timeouts in the calling code or this could be related to some delays in the ssh port forwarded connection due to my Mac's or VirtualBox configurations.
However, I think, it would be good to always explicitly specify the location of the target remote file so that it can always be found in a predefined place. I set it to /tmp ... but it can be anything else.
explicit path to (pre)-postinstall files on the box during the build …
Merge remote-tracking branch 'upstream/master' into remote-postinstal…
Sorry. The merge 001c0e6 have to be ignored.
@konstan would it help if veewee checks/creates the homedirectory first before putting the files ? This would allow the files to be in the right spot for that user. Not sure if windows user creation will like this that the homedir is already there.
now 1) this is far to outdated, 2) is this still a problem 3) does the fix still apply? - maybe could you rebase the fix?