[yocto] [PATCH 05/12] modules/steps.py: fix warn when skip compilation
Alexander Kanavin
alexander.kanavin at linux.intel.com
Thu Dec 7 04:47:04 PST 2017
On 12/07/2017 09:37 AM, Robert Yang wrote:
> try:
> I(" %s: Upgrading to %s" % (pkg_ctx['PN'], pkg_ctx['NPV']))
> for step, msg in upgrade_steps:
> + if step == compile and self.args.skip_compilation:
> + W(" %s: Skipping compile by user choice" % pkg_ctx['PN'])
> + continue
> if msg is not None:
> I(" %s: %s" % (pkg_ctx['PN'], msg))
> step(self.bb, self.git, self.opts, pkg_ctx)
>
This one I have to reject. The loop that is executing the upgrade steps
should not have to know or care what they are.
Alex
More information about the yocto
mailing list