Stefan Berger
2006-Sep-05 16:57 UTC
[Xen-devel] [PATCH][vTPM][XM-TEST] echo command string break-up fix
When redirecting the output of the echo command using ''>'' on bash, the output seems to be broken up into multiple write()s (depending on the version of busybox?). Unfortunately /dev/tpm0 needs to have the complete command written to in one chunk. The work-around ''echo <string> > file ; cat file > /dev/tpm0'' seems to get around this problem. The patch also removes a redundant test and error output. Signed-off-by: Stefan Berger <stefanb@us.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel