[meta-freescale] [fsl-community-bsp-base][PATCH] setup-environment: fix EULA acceptance logic

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Aug 19 15:44:57 PDT 2015


On Wed, Aug 19, 2015 at 2:11 PM, Mario Domenech Goulart
<mario at ossystems.com.br> wrote:
> This commit fixes the handling of the EULA environment variable,
> which was being ignored.  This regression was introduced by
> 41c2b0acbe.
>
> Assumption by this commit: variables are considered set if they are
> set according to shell's rules.
>
> So,
>
>   . setup-environment <build-dir>
>
> (assuming EULA is not set in the current environment) or
>
>   EULA= . setup-environment <build-dir>
>
> won't make the FSL EULA be automatically accepted.  However,
>
>   EULA=1 . setup-environment <build-dir>
>
> will, as well as for any value of EULA.
>
> The same rules apply to ACCEPT_FSL_EULA configuration in
> local.conf.
>
> Signed-off-by: Mario Domenech Goulart <mario at ossystems.com.br>

Applied in master.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list