* [PATCH 0/1] adt_installer: allow specifying relative target sysroot paths
@ 2013-07-30 14:40 Laurentiu Palcu
2013-07-30 14:40 ` [PATCH 1/1] " Laurentiu Palcu
0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu Palcu @ 2013-07-30 14:40 UTC (permalink / raw)
To: openembedded-core
The following changes since commit bd1c441a210cae03fb6006c996227211cc29056b:
bitbake: bitbake: runqueue: add warning if invalidating invalid task (2013-07-29 15:25:09 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib lpalcu/b4955_adt_installer_sysroot_relative_path
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b4955_adt_installer_sysroot_relative_path
Laurentiu Palcu (1):
adt_installer: allow specifying relative target sysroot paths
.../installer/adt-installer/adt_installer | 4 ++++
.../adt-installer/scripts/adt_installer_internal | 2 ++
2 files changed, 6 insertions(+)
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] adt_installer: allow specifying relative target sysroot paths
2013-07-30 14:40 [PATCH 0/1] adt_installer: allow specifying relative target sysroot paths Laurentiu Palcu
@ 2013-07-30 14:40 ` Laurentiu Palcu
0 siblings, 0 replies; 2+ messages in thread
From: Laurentiu Palcu @ 2013-07-30 14:40 UTC (permalink / raw)
To: openembedded-core
If one specifies a relative target sysroot path, then he/she must always
be in the same directory in order to be able to compile.
With this patch, adt_installer will automatically convert user
supplied relative paths to absolute.
[YOCTO #4955]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
.../installer/adt-installer/adt_installer | 4 ++++
.../adt-installer/scripts/adt_installer_internal | 2 ++
2 files changed, 6 insertions(+)
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer
index 58728af..a6042b9 100755
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer
@@ -272,6 +272,10 @@ download_images()
select_sysroot_image=`eval echo $select_sysroot_image_var`
select_sysroot=`eval echo $select_sysroot_var`
+ if [ -n "$select_sysroot" ]; then
+ select_sysroot=`readlink -m $select_sysroot`
+ fi
+
if [ "$select_rootfs" != "" ]; then
if [ $2 ]; then
#echo_info "\n############################################################################"
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
index 7931ff5..462199c 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -242,6 +242,8 @@ target_sysroot=`eval echo $target_sysroot_var`
if [ "$target_sysroot" == "" ]; then
return 0
+else
+ target_sysroot=`readlink -m $target_sysroot`
fi
target_sysroot_image_var="\$YOCTOADT_TARGET_SYSROOT_IMAGE_$1"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-30 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 14:40 [PATCH 0/1] adt_installer: allow specifying relative target sysroot paths Laurentiu Palcu
2013-07-30 14:40 ` [PATCH 1/1] " Laurentiu Palcu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox