]> 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, 30 Jan 2012 16:48:13 +0000 (16:48 +0000)
commit84bd443d82d8022027180b6ef1f7b7cfc7d06420
tree78a49c1c5d4cb8447be2fc7e3edbd84d3bf83aec
parent3e93af369d70d20a53bd7849a62b177b910e6a36
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.

(From OE-Core rev: 16e09b850dcb44cb1afe411439e40a4bae7e8002)

Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/buildstats.bbclass