Seeing as we often have the issue of bashisms turning up in shell functions and therefore failing on Ubuntu, we should add some kind of check for these if it's practical to do so. Presumably this would use checkbashisms. I don't know if it will be practical to do this as a normal QA check; if we have to do it externally that would be acceptable.
Since we parse the shell functions, could the parser check for these?
*** Bug 8932 has been marked as a duplicate of this bug. ***
checkbashisms is 26k of perl, so I don't fancy reimplementing that in Python to be honest!
I'm thinking a bit of tooling to extract all the shell scripts from the metadata and run it through checkbashisms would be more practical that verifying on every parse.
Well I've made a prototype and it bloody well works! checkbashism is far too slow to do on parse.
Merge in oe-core d77fe838ab7631a19e90ff4226f0712e54aa4e22.