diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-01-22 18:50:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-02 11:22:11 +0000 |
commit | 47208175027686339dd18df52b60ec2c43594918 (patch) | |
tree | a615e3a7862b3098c81a6fad67586717cf91c972 /meta/recipes-core | |
parent | 3ab4a2bd022d8e8723bd60d8e6a230322b97441f (diff) | |
download | poky-47208175027686339dd18df52b60ec2c43594918.tar.gz |
sanity.bbclass: check that TMPDIR is not located on nfs
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.
BTW., s/tmpdir/TMPDIR/ in the previous comment message to make them have
a uniform.
[YOCTO #5442]
(From OE-Core rev: ee4061b43522c4893b41c3be63d06be1ee7e3c70)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
0 files changed, 0 insertions, 0 deletions