ignore this. updated patch in the works.

On Mon, Mar 10, 2014 at 11:14 AM, Elizabeth Flanagan
<elizabeth.flana...@intel.com> wrote:
> Supports 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b7f1cca517bbd4191828c6bae32e0c5041f1ff19
>
> Signed-off-by: Elizabeth Flanagan <elizabeth.flana...@intel.com>
> ---
>  .../site-packages/autobuilder/buildsteps/BuildImages.py          | 9 
> +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git 
> a/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py 
> b/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py
> index 2dc72dd..664b65b 100644
> --- a/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py
> +++ b/lib/python2.7/site-packages/autobuilder/buildsteps/BuildImages.py
> @@ -34,7 +34,16 @@ class BuildImages(ShellCommand):
>
>      def start(self):
>          self.layerversion_yoctobsp = 
> self.getProperty("layerversion_yoctobsp")
> +        self.layerversion_core = self.getProperty("layerversion_core")
>          self.machine = self.getProperty("MACHINE")
> +        # core-image-basic rename
> +        # See: 
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b7f1cca517bbd4191828c6bae32e0c5041f1ff19
> +        # I hate making people change their configs, so support both.
> +        if self.layerversion_core < "4":
> +            self.images.replace("core-image-full-cmdline", 
> "core-image-basic")
> +        elif self.layerversion_core > "3":
> +            self.images.replace("core-image-basic", 
> "core-image-full-cmdline")
> +
>          if self.layerversion_yoctobsp is not None and 
> int(self.layerversion_yoctobsp) < 2 and self.machine is not None and 
> self.machine == "genericx86-64":
>              self.command = "echo 'Skipping Step.'"
>          else:
> --
> 1.8.1.2
>



-- 
Elizabeth Flanagan
Yocto Project
Build and Release
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to