[Toaster] [RFC] Handling IMAGE_INSTALL_append
Reyna, David
david.reyna at windriver.com
Tue Mar 3 16:32:42 PST 2015
> From my perspective, option 1 is the best one.
And I still agree with that.
Trying to have the user do this opens the door to trivial but blocking defects, and the GUI experience is supposed to be superior and more guided than the raw command line experience.
The fall back is to have the front end interface enforce this invisibly, in other words always force a leading space when it writes this value to the backend but present/accept a trimmed value. This is something that could be done quickly, but then we are spreading this arcane syntax rule to the frontend away from the presumably more intelligent backend.
- David
> -----Original Message-----
> From: toaster-bounces at yoctoproject.org [mailto:toaster-
> bounces at yoctoproject.org] On Behalf Of Barros Pena, Belen
> Sent: Tuesday, March 03, 2015 2:47 AM
> To: toaster at yoctoproject.org
> Subject: [Toaster] [RFC] Handling IMAGE_INSTALL_append
>
> The default project configuration we ship with Toaster includes the
> IMAGE_INSTALL_append variable. This variable requires a space before
> the
> first package name. We have spoken before about taking 2 possible
> approaches to handle this:
>
> 1. Toaster takes responsibility and adds the space for you. How this
> could
> be done, I am not sure. I guess we can either somehow identify
> IMAGE_INSTALL_append as the type of variable that requires a space
> before
> the first list item, or we can hardcode it.
>
> 2. Users take responsibility and add the space themselves. Easier to
> implement (we add some help text to the field), but bound to fail
> (users
> don't read help text).
>
> From my perspective, option 1 is the best one. I don't care if we need
> to
> hardcode it. Adding this variable to the default project configuration
> is
> very much a temporary solution until we provide functionality to
> customise
> the list of packages installed by an image recipe.
>
> Would this be acceptable to everybody else?
>
> Thanks!
>
> Belén
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
More information about the toaster
mailing list