[yocto] [AB PATCH 03/22] BuildImages.py: core-image-basic name change support
Burton, Ross
ross.burton at intel.com
Thu Mar 20 07:23:04 PDT 2014
On 19 March 2014 20:51, Elizabeth Flanagan <elizabeth.flanagan at intel.com> wrote:
> + if self.layerversion_core < "4":
> + self.images=self.images.replace("core-image-full-cmdline", "core-image-basic")
> + elif self.layerversion_core > "3":
> + self.images=self.images.replace("core-image-basic", "core-image-full-cmdline")
I had to read this logic carefully to make sure I wasn't missing any
nuances, why can't the elif be a simple "else"?
Ross
More information about the yocto
mailing list