On Tue, 2016-06-07 at 17:59 +0100, Richard Purdie wrote: > On Tue, 2016-06-07 at 15:50 +0100, Joshua Lock wrote: > > Add a mechanism to run QA checks on a constructed image once it's > > complete. All checks will be run with any one failure resulting in > > a failed build. > > How is that different to the testimage class (which tests images > after > they're built)?
The intended purpose of this task is to run checks on the contents of the image before it's booted. I implemented a similar task in meta-swupd to run various checks such as ensuring a generated image doesn't contain dangling symlinks (a sign of unexpected consequences from alternatives configuration). Another check one might run is ensuring /etc and /var are empty in a stateless distro, or checking /bin, /lib and /sbin are links in a distro with a merged /usr. When I have a v2 of this which addresses some of Chris' concerns I'll try and improve the commit message, variable naming, etc to avoid confusion. Regards, Joshua -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
