aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2020-04-19 11:41:40 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2020-04-19 11:46:21 +0200
commitea6594e08e2724c64bc07724a07479fc1633dede (patch)
treed83eed89bd4ab877f7b54ed354462f45308a0808 /gnu/installer
parentfafe2343c29bcb02fcee79558fbd8ae2ba2c1214 (diff)
downloadguix-ea6594e08e2724c64bc07724a07479fc1633dede.tar
guix-ea6594e08e2724c64bc07724a07479fc1633dede.tar.gz
installer: connman: Fix Wifi connection.
Issue reported by SergioBG here: https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00432.html. Due to default buffering mode, the installer was reading from the pipe without having actually written a command before. * gnu/installer/connman.scm (connman-connect-with-auth): Set pipe buffering mode to 'line.
Diffstat (limited to 'gnu/installer')
-rw-r--r--gnu/installer/connman.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm
index 7f47b9af77..386f431ced 100644
--- a/gnu/installer/connman.scm
+++ b/gnu/installer/connman.scm
@@ -393,6 +393,7 @@ interactive connmanctl process."
(dynamic-wind
(const #t)
(lambda ()
+ (setvbuf pipe 'line)
(run-connection-sequence pipe)
#t)
(lambda ()