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: [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
Date: Fri, 20 Mar 2015 19:39:26 -0400	[thread overview]
Message-ID: <20150320233926.GR11557@edge> (raw)
In-Reply-To: <1426791202-23545-1-git-send-email-j-stiffler@ti.com>

Does this require a corresponding change to create-sdcard.sh in setup scripts? 
Or should it go on its own?


On Thu, Mar 19, 2015 at 02:53:22PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  .../tisdk-install/tisdk-install/sdk-install.sh     |    6 ++++++
>  .../tisdk-install/tisdk-install_1.0.bb             |    2 +-
>  2 files changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh
> index cf90089..65c5b69 100644
> --- a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh
> +++ b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh
> @@ -102,6 +102,12 @@ then
>      sed -i -e s=__SDK_INSTALL_DIR__=$install_dir= $install_dir/bin/unshallow-repositories.sh
>  fi
>  
> +# Modify create-sdcard.sh to have user-supplied installation directory
> +if [ -f "${install_dir}/bin/create-sdcard.sh" ]
> +then
> +    sed -i -e "s|ti-sdk.*\[0-9\]|${install_dir##*/}|g" ${install_dir}/bin/create-sdcard.sh
> +fi
> +
>  # Update CCS project files using important paths to headers
>  
>  find $install_dir/example-applications -type f -exec sed -i "s|<TOOLCHAIN_TARGET_INCLUDE_DIR>|$TOOLCHAIN_TARGET_INCLUDE_DIR|g" {} \;
> diff --git a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb
> index 83efd61..a3b88d9 100644
> --- a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb
> +++ b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb
> @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://../sdk-install.sh;beginline=3;endline=19;md5=4b899037
>  
>  SRC_URI = "file://sdk-install.sh"
>  
> -PR = "r4"
> +PR = "r5"
>  
>  do_install () {
>      install -d ${D}/
> -- 
> 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:[~2015-03-20 23:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 18:53 [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory Jacob Stiffler
2015-03-20 23:39 ` Denys Dmytriyenko [this message]
2015-03-23 10:23   ` Stiffler, Jacob
2015-04-01 10:39     ` Stiffler, Jacob
2015-04-02 17:29       ` Denys Dmytriyenko

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=20150320233926.GR11557@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.