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 v2 1/2] config-build-env, package-sdks: Add support to export the downloads to web.
Date: Mon, 5 Jan 2015 11:02:00 -0500 [thread overview]
Message-ID: <20150105160159.GN4759@edge> (raw)
In-Reply-To: <1420473061-16355-1-git-send-email-j-stiffler@ti.com>
Both patches look good to me, thanks.
On Mon, Jan 05, 2015 at 10:51:00AM -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
prev parent reply other threads:[~2015-01-05 16:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 15:51 [tisdk-build-scripts][PATCH v2 1/2] config-build-env, package-sdks: Add support to export the downloads to web Jacob Stiffler
2015-01-05 15:51 ` [tisdk-build-scripts][PATCH v2 2/2] configs: Add BB_GENERATE_MIRROR_TARBALLS and EXPORT_ARAGO_SRC config params Jacob Stiffler
2015-01-05 16:02 ` 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=20150105160159.GN4759@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.