[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
53/376: build-remote.pl: Fix build log
From: |
Ludovic Courtès |
Subject: |
53/376: build-remote.pl: Fix build log |
Date: |
Wed, 28 Jan 2015 22:03:59 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit a00a98548e994d1ea258e14793c7bcd8ea56cfdf
Author: Eelco Dolstra <address@hidden>
Date: Sat Jul 12 00:09:43 2014 +0200
build-remote.pl: Fix build log
---
perl/lib/Nix/SSH.pm | 6 ++++--
scripts/build-remote.pl.in | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/perl/lib/Nix/SSH.pm b/perl/lib/Nix/SSH.pm
index c879204..84bff5c 100644
--- a/perl/lib/Nix/SSH.pm
+++ b/perl/lib/Nix/SSH.pm
@@ -107,11 +107,13 @@ sub writeStrings {
sub connectToRemoteNix {
- my ($sshHost, $sshOpts) = @_;
+ my ($sshHost, $sshOpts, $extraFlags) = @_;
+
+ $extraFlags ||= "";
# Start ‘nix-store --serve’ on the remote host.
my ($from, $to);
- my $pid = open2($from, $to, "ssh $sshHost @{$sshOpts} nix-store --serve
--write");
+ my $pid = open2($from, $to, "ssh $sshHost @{$sshOpts} nix-store --serve
--write $extraFlags");
# Do the handshake.
my $SERVE_MAGIC_1 = 0x390c9deb; # FIXME
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index 687b0e1..c2f1fec 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -197,7 +197,7 @@ REQ: while (1) {
@sshOpts = ("-i", $machine->{sshKeys}, "-x");
$hostName = $machine->{hostName};
eval {
- ($from, $to) = connectToRemoteNix($hostName, address@hidden);
+ ($from, $to) = connectToRemoteNix($hostName, address@hidden,
"2>&4");
# FIXME: check if builds are inhibited.
};
last REQ unless $@;
- 54/376: build-remote.pl: Don't keep a shell process around, (continued)
- 54/376: build-remote.pl: Don't keep a shell process around, Ludovic Courtès, 2015/01/28
- 55/376: build-remote.pl: Fix building multiple output derivations, Ludovic Courtès, 2015/01/28
- 47/376: Replace message "importing path <...>" with "exporting path <...>", Ludovic Courtès, 2015/01/28
- 58/376: Pass *_proxy vars to bootstrap fetchurl, Ludovic Courtès, 2015/01/28
- 51/376: build-remote.pl: Use ‘nix-store --serve’ on the remote side, Ludovic Courtès, 2015/01/28
- 50/376: Fix closure size display, Ludovic Courtès, 2015/01/28
- 63/376: Get rid of a compiler warning, Ludovic Courtès, 2015/01/28
- 43/376: Remove tabs, Ludovic Courtès, 2015/01/28
- 64/376: nix-daemon: Fix compat with older clients, Ludovic Courtès, 2015/01/28
- 57/376: Manual: Typo, Ludovic Courtès, 2015/01/28
- 53/376: build-remote.pl: Fix build log,
Ludovic Courtès <=
- 61/376: Handle case collisions on case-insensitive systems, Ludovic Courtès, 2015/01/28
- 66/376: nix-daemon: Show name of connecting user, Ludovic Courtès, 2015/01/28
- 59/376: Install systemd and Upstart stuff only on Linux, Ludovic Courtès, 2015/01/28
- 60/376: Make dev-shell script work on Darwin, Ludovic Courtès, 2015/01/28
- 68/376: Ugly hack to fix building on old Darwin, Ludovic Courtès, 2015/01/28
- 75/376: nix-store --serve: Monitor for client disconnects, Ludovic Courtès, 2015/01/28
- 70/376: Better fix for strcasecmp on Darwin, Ludovic Courtès, 2015/01/28
- 73/376: startProcess: Make writing error messages from the child more robust, Ludovic Courtès, 2015/01/28
- 67/376: nix-daemon: Add trusted-users and allowed-users options, Ludovic Courtès, 2015/01/28
- 56/376: Remove cruft, Ludovic Courtès, 2015/01/28