[meta-cgl] cgl-init-build-env: Use new variable LICENSE_FLAGS_ACCEPTED

Message ID 20220424030949.1735527-1-mingli.yu@windriver.com
State New
Headers show
Series [meta-cgl] cgl-init-build-env: Use new variable LICENSE_FLAGS_ACCEPTED | expand

Commit Message

Yu, Mingli April 24, 2022, 3:09 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 cgl-init-build-env | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jeremy Puhlman April 25, 2022, 4:12 p.m. UTC | #1
Merged, thanks.

On 4/23/2022 8:09 PM, Yu, Mingli wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> ---
>   cgl-init-build-env | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/cgl-init-build-env b/cgl-init-build-env
> index acf459d..1d51219 100755
> --- a/cgl-init-build-env
> +++ b/cgl-init-build-env
> @@ -200,8 +200,8 @@ else
>   #            echo "*** Info: Inheriting  distrodata."
>   #        fi
>   
> -#        echo -e '\nLICENSE_FLAGS_WHITELIST += "non-commercial"\n' >> conf/local.conf
> -#        echo "*** Info: Need to set LICENSE_FLAGS_WHITELIST for netperf"
> +#        echo -e '\nLICENSE_FLAGS_ACCEPTED += "non-commercial"\n' >> conf/local.conf
> +#        echo "*** Info: Need to set LICENSE_FLAGS_ACCEPTED for netperf"
>   
>            if [[ -n $DISTRO ]]; then
>               sed -i -e "s|^DISTRO.*|DISTRO ?= \"$DISTRO\"|" conf/local.conf
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#56853): https://lists.yoctoproject.org/g/yocto/message/56853
> Mute This Topic: https://lists.yoctoproject.org/mt/90659554/2167262
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [jpuhlman@mvista.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/cgl-init-build-env b/cgl-init-build-env
index acf459d..1d51219 100755
--- a/cgl-init-build-env
+++ b/cgl-init-build-env
@@ -200,8 +200,8 @@  else
 #            echo "*** Info: Inheriting  distrodata."
 #        fi
 
-#        echo -e '\nLICENSE_FLAGS_WHITELIST += "non-commercial"\n' >> conf/local.conf
-#        echo "*** Info: Need to set LICENSE_FLAGS_WHITELIST for netperf"
+#        echo -e '\nLICENSE_FLAGS_ACCEPTED += "non-commercial"\n' >> conf/local.conf
+#        echo "*** Info: Need to set LICENSE_FLAGS_ACCEPTED for netperf"
 
          if [[ -n $DISTRO ]]; then
             sed -i -e "s|^DISTRO.*|DISTRO ?= \"$DISTRO\"|" conf/local.conf