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

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.