* Hack to prevent the socat process from hanging the builder.

svn path=/nixpkgs/trunk/; revision=22251
This commit is contained in:
Eelco Dolstra 2010-06-14 07:39:13 +00:00
parent 88a5d8915a
commit cc27927f8a

View File

@ -253,7 +253,7 @@ rec {
#! ${bash}/bin/sh #! ${bash}/bin/sh
diskImage=$diskImage diskImage=$diskImage
TMPDIR=$TMPDIR TMPDIR=$TMPDIR
${socat}/bin/socat unix-listen:$TMPDIR/samba system:'while true; do ${samba}/sbin/smbd -s $TMPDIR/smb.conf; done' & ${socat}/bin/socat unix-listen:$TMPDIR/samba system:'while true; do ${samba}/sbin/smbd -s $TMPDIR/smb.conf; done' > /dev/null 2>&1 &
while [ ! -e $TMPDIR/samba ]; do sleep 0.1; done # ugly while [ ! -e $TMPDIR/samba ]; do sleep 0.1; done # ugly
${qemuCommand} ${qemuCommand}
EOF EOF