Re: [OE-core] [PATCH 2/2] sanity.bbclass: check that TMPDIR is not located on nfs

2013-11-01 Thread Richard Purdie
On Sat, 2013-11-02 at 01:26 +0800, Robert Yang wrote: > There would be some unexpected errors when the whole TMPDIR is located > on nfs, so add a test for it in sanity.bbclass. > > Note: > The better way to get the filesystem id should be get f_fsid from struct > statvfs, but there is no f_fsid in

[OE-core] [PATCH 2/2] sanity.bbclass: check that TMPDIR is not located on nfs

2013-11-01 Thread Robert Yang
There would be some unexpected errors when the whole TMPDIR is located on nfs, so add a test for it in sanity.bbclass. Note: The better way to get the filesystem id should be get f_fsid from struct statvfs, but there is no f_fsid in os.stat() or os.statvfs(), so we use 'stat -f -c "%t"' here. [YO