]> code.ossystems Code Review - openembedded-core.git/commit
buildstats: tolerate absence of /proc/diskstats
authorJean-François Dagenais <dagenaisj@sonatest.com>
Mon, 16 Jan 2012 01:11:05 +0000 (20:11 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Jan 2012 12:24:42 +0000 (12:24 +0000)
commit16e09b850dcb44cb1afe411439e40a4bae7e8002
tree0137705bd729e8616ded6e648f58ce09a336b217
parentaad04928116feea421fba84c4780b93191be6169
buildstats: tolerate absence of /proc/diskstats

In OpenVZ containers (and probably lx containers as well),
the diskstats entry is not even present. Use the "NoLogicalDrive"
introduced by Elizabeth Flanagan in such case.

This allows the bitbaking to occure within such containers.

Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.com>
meta/classes/buildstats.bbclass