All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [tisdk-build-scripts][PATCH] config-build-env, package-sdks: Add support to export the downloads to web.
Date: Wed, 10 Dec 2014 12:47:22 -0500	[thread overview]
Message-ID: <20141210174722.GE5113@edge> (raw)
In-Reply-To: <1418221798-9323-1-git-send-email-j-stiffler@ti.com>

Looks good. Do we want to populate this var in disabled state to other config 
files?

On Wed, Dec 10, 2014 at 09:29:58AM -0500, Jacob Stiffler wrote:
> * This can be enabled by setting "EXPORT_ARAGO_SRC" in the config file.
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  lib/oesdk/config-build-env |    8 ++++++++
>  lib/oesdk/package-sdks     |   12 ++++++++++++
>  2 files changed, 20 insertions(+)
> 
> diff --git a/lib/oesdk/config-build-env b/lib/oesdk/config-build-env
> index cace93f..4412987 100644
> --- a/lib/oesdk/config-build-env
> +++ b/lib/oesdk/config-build-env
> @@ -79,5 +79,13 @@ config_build_dir() {
>        echo "SOURCE_MIRROR_URL = \"$SOURCE_MIRROR_URL\"" >> local.conf
>        echo "INHERIT += \"own-mirrors\"" >> local.conf
>      fi
> +
> +    if [ "$EXPORT_ARAGO_SRC" == "1" ]; then
> +      BB_GENERATE_MIRROR_TARBALLS=1
> +    fi
> +
> +    if [ ! -z "$BB_GENERATE_MIRROR_TARBALLS" ]; then
> +      sed -i "s+^BB_GENERATE_MIRROR_TARBALLS =.*+BB_GENERATE_MIRROR_TARBALLS = \"$BB_GENERATE_MIRROR_TARBALLS\"+" local.conf
> +    fi
>      cd - > /dev/null 2>&1
>  }
> diff --git a/lib/oesdk/package-sdks b/lib/oesdk/package-sdks
> index 9bfd887..31a44b6 100644
> --- a/lib/oesdk/package-sdks
> +++ b/lib/oesdk/package-sdks
> @@ -268,6 +268,18 @@ package_web_content() {
>  
>      rm -rf board-support-bin
>  
> +    if [ "$EXPORT_ARAGO_SRC" == "1" ]
> +    then
> +        tar -C $DL_DIR -czf $exports_root/$m-sdk-arago-src-$TISDK_VERSION.tar.gz .
> +
> +        if [ "$?" != 0 ]
> +        then
> +            echo "Could not create arago source tarball"
> +            echo "FAILED" > $LOG_DIR/$m-web-results.txt
> +            return 1
> +        fi
> +    fi
> +
>      # Copy any additional web files that are in the WEB_EXTRAS_ROOT
>      # directory.
>      web_extras="$WEB_EXTRAS_ROOT/$m"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


      reply	other threads:[~2014-12-10 17:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 14:29 [tisdk-build-scripts][PATCH] config-build-env, package-sdks: Add support to export the downloads to web Jacob Stiffler
2014-12-10 17:47 ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141210174722.GE5113@edge \
    --to=denys@ti.com \
    --cc=j-stiffler@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.