This is fine on its own. This is intended to work with the current version of 
create-sdcard.sh used in the SDKs.

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, March 20, 2015 7:39 PM
To: Stiffler, Jacob
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] sdk-install: Modify create-sdcard with 
user-supplied installation directory.

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 <[email protected]>
> ---
>  .../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-inst
> all.sh 
> b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-inst
> all.sh
> index cf90089..65c5b69 100644
> --- 
> a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-inst
> all.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
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to