[Toaster] Design - Editing package content in custom images

Reyna, David david.reyna at windriver.com
Tue Aug 11 01:28:33 PDT 2015


Hi Belén,

The design is great.

The fundamental gotcha as I mentioned before is that the users will find that if they go too far deleting packages then (due to the imperfect nature of the package dependencies) they will eventually end up with an image that is unbuildable, and/or one with the "removed" packages keep magically re-appearing in the final image.

I think that we should prepare for that. We should at least have a disclaimer that package deletion can sometimes lead to unsupported or surprising states. We should consider/advise some sort of recovery method, for example.

  * The simplest undo is to delete the broken image and start fresh. This may be sufficient for this initial release.
  * The second simplest is to have a "reset", where you re-start this image from its baseline source.
  * The third option is to mark the removed packages in a way that indicates that they were originally part of the baseline, for example by having them use a "Re-add package" button label as opposed to "Add Package". In this manner they have a clue on how to "undo" the changes visually.
  * The forth method is to have an actual "Undo" button, but this would be a lot of work.

- David


> -----Original Message-----
> From: toaster-bounces at yoctoproject.org [mailto:toaster-
> bounces at yoctoproject.org] On Behalf Of Barros Pena, Belen
> Sent: Friday, August 07, 2015 6:12 AM
> To: toaster at yoctoproject.org
> Subject: [Toaster] Design - Editing package content in custom images
> 
> I've documented how we add and remove packages to / from custom images,
> and opened this enhancement
> 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=8117
> 
> Design attached to the Bugzilla entry, as usual. The only tricky thing is
> the dependency handling, but we used to this in Hob, so I am assuming we
> can do this in Toaster as well.
> 
> Any questions / comments, let me know.
> 
> Thanks,
> 
> Belén
> 
> 
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster


More information about the toaster mailing list