All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
@ 2015-03-19 18:53 Jacob Stiffler
  2015-03-20 23:39 ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Stiffler @ 2015-03-19 18:53 UTC (permalink / raw)
  To: meta-arago

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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
  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
  2015-03-23 10:23   ` Stiffler, Jacob
  0 siblings, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2015-03-20 23:39 UTC (permalink / raw)
  To: Jacob Stiffler; +Cc: meta-arago

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
  2015-03-20 23:39 ` Denys Dmytriyenko
@ 2015-03-23 10:23   ` Stiffler, Jacob
  2015-04-01 10:39     ` Stiffler, Jacob
  0 siblings, 1 reply; 5+ messages in thread
From: Stiffler, Jacob @ 2015-03-23 10:23 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

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: meta-arago@arago-project.org
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 <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-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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
  2015-03-23 10:23   ` Stiffler, Jacob
@ 2015-04-01 10:39     ` Stiffler, Jacob
  2015-04-02 17:29       ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Stiffler, Jacob @ 2015-04-01 10:39 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

Ping.

-----Original Message-----
From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
Sent: Monday, March 23, 2015 6:23 AM
To: Dmytriyenko, Denys
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.

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: meta-arago@arago-project.org
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 <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-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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
  2015-04-01 10:39     ` Stiffler, Jacob
@ 2015-04-02 17:29       ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2015-04-02 17:29 UTC (permalink / raw)
  To: Stiffler, Jacob; +Cc: meta-arago@arago-project.org

Core SDK was finally out last night (yeah, April 1st...) so I can push the 
pending patches again.


On Wed, Apr 01, 2015 at 06:39:52AM -0400, Stiffler, Jacob wrote:
> Ping.
> 
> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-bounces@arago-project.org] On Behalf Of Stiffler, Jacob
> Sent: Monday, March 23, 2015 6:23 AM
> To: Dmytriyenko, Denys
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] sdk-install: Modify create-sdcard with user-supplied installation directory.
> 
> 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: meta-arago@arago-project.org
> 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 <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-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
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-02 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-03-23 10:23   ` Stiffler, Jacob
2015-04-01 10:39     ` Stiffler, Jacob
2015-04-02 17:29       ` Denys Dmytriyenko

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.