[Toaster] [PATCH 0/5] localhostbecontroller fixes

Michael Wood michael.g.wood at intel.com
Mon Mar 7 08:10:38 PST 2016


I can't recreate the download error, there is a known issue if you're 
never git cloned a non poky repo where this might happen, but if you've 
built it it should be findable.

The no packages one is because I left off an import in the 
buildinfohelper in [PATCH 2/5] toaster: orm Add a constant for the 
CustomImageRecipe's layer name.

Will send a v2 series.

Michael


On 07/03/16 11:42, Barros Pena, Belen wrote:
>
> On 05/03/2016 01:13, "toaster-bounces at yoctoproject.org on behalf of Brian
> Avery" <toaster-bounces at yoctoproject.org on behalf of
> avery.brian at gmail.com> wrote:
>
>> Hi,
>>
>> There's an issue where I can't add or delete packages from my custom
>> image after initially creating it.
> I see the same thing, and also something else: image builds don't seem to
> be recognised as such. The "Images" section is missing from the left
> navigation (so no packages installed or directory structure information),
> and the image files are not shown. Screenshot at
>
> http://imgur.com/Co0d8Wz
>
> I guess both issues are somehow connected?
>
> Cheers
>
> Belén
>
>> Steps to reproduce:
>> 1) build core-image-minimal
>> 2) New custom image based on core-image-minimal
>> 3) I get a page like this:
>> https://www.dropbox.com/s/bigqrsu9d9awct9/Screenshot%202016-03-04%2017.07.
>> 00.png?dl=0
>> 4) also, the download recipe file button gives me:
>> [Errno 2] No such file or directory:
>> u'recipes-core/images/core-image-minimal.bb'
>> 5) Even if I build the custom image it still says:
>> Toaster has no package information for mwimage1. To generate package
>> information, build mwimage1
>> -b
>>
>> On Fri, Mar 4, 2016 at 9:58 AM, Michael Wood <michael.g.wood at intel.com>
>> wrote:
>>> Fixes for localhostbecontroller to allow file:/// uri for git
>>> repositories. Allowing the file:/// uri had an unintended consequence
>>> that the layer we generate for the custom image layer/recipes have had a
>>> dummy value of file:///_meta-toaster as its giturl so it tried and fails
>>> to git clone the dummy url. This fixes this and another issue identified
>>> in testing when building a custom image based on a custom image
>>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=9206
>>>
>>> branch available on poky-contrib michaelw/toaster/localhostbctrl
>>>
>>>
>>> Michael Wood (5):
>>>    toaster: localhostbecontroller Don't clear out toaster custom layer
>>>      dir
>>>    toaster: orm Add a constant for the CustomImageRecipe's layer name
>>>    toaster: localhostbecontroller Allow file:/// uri type for git repo
>>>    toaster: localhostbecontroller put generated layer in the builddir
>>>    toaster: orm generate CustomImageRecipe contents try secondary path
>>>
>>>   bitbake/lib/bb/ui/buildinfohelper.py                    |  2 +-
>>>   bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 10 +++++-----
>>>   bitbake/lib/toaster/orm/models.py                       | 15
>>> +++++++++++----
>>>   bitbake/lib/toaster/toastergui/views.py                 |  2 +-
>>>   4 files changed, 18 insertions(+), 11 deletions(-)
>>>
>>> --
>>> 2.5.0
>>>
>>> --
>>> _______________________________________________
>>> toaster mailing list
>>> toaster at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/toaster
>> -- 
>> _______________________________________________
>> toaster mailing list
>> toaster at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/toaster

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the toaster mailing list