* [PATCH 0/1] poky-extract-sdk bugfix for #670
@ 2011-01-22 0:27 Scott Garman
2011-01-22 0:27 ` [PATCH 1/1] poky-extract-sdk: allow relative paths for extract-dir Scott Garman
2011-01-28 1:12 ` [PATCH 0/1] poky-extract-sdk bugfix for #670 Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Scott Garman @ 2011-01-22 0:27 UTC (permalink / raw)
To: poky
Hi Saul,
This pull request includes a fix for the issue Diego Sueiro
reported where relative paths given to the poky-extract-sdk
script cause errors.
Josh: This is a low-risk commit that I'd like to see included
with our Laverne point-release.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/extract-sdk-fix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/extract-sdk-fix
Thanks,
Scott Garman <scott.a.garman@intel.com>
---
Scott Garman (1):
poky-extract-sdk: allow relative paths for extract-dir
scripts/poky-extract-sdk | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] poky-extract-sdk: allow relative paths for extract-dir
2011-01-22 0:27 [PATCH 0/1] poky-extract-sdk bugfix for #670 Scott Garman
@ 2011-01-22 0:27 ` Scott Garman
2011-01-28 1:12 ` [PATCH 0/1] poky-extract-sdk bugfix for #670 Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Scott Garman @ 2011-01-22 0:27 UTC (permalink / raw)
To: poky
psuedo needs a full path to its pid file, so convert
relative extract-dir paths to full ones.
The symptom of this bug is receiving the following error:
pseudo: Couldn't open relative/path/to/var/pseudo/pseudo.pid: No such file or directory
This fixes [BUGID #670]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
---
| 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
--git a/scripts/poky-extract-sdk b/scripts/poky-extract-sdk
index 977adde..a36d79d 100755
--- a/scripts/poky-extract-sdk
+++ b/scripts/poky-extract-sdk
@@ -47,6 +47,11 @@ if [ ! -e "$ROOTFS_TARBALL" ]; then
exit 1
fi
+# Convert SDK_ROOTFS_DIR to a full pathname
+if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then
+ SDK_ROOTFS_DIR=$(pwd)/$SDK_ROOTFS_DIR
+fi
+
TAR_OPTS=""
if [[ "$ROOTFS_TARBALL" =~ tar\.bz2$ ]]; then
TAR_OPTS="-xjf"
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1] poky-extract-sdk bugfix for #670
2011-01-22 0:27 [PATCH 0/1] poky-extract-sdk bugfix for #670 Scott Garman
2011-01-22 0:27 ` [PATCH 1/1] poky-extract-sdk: allow relative paths for extract-dir Scott Garman
@ 2011-01-28 1:12 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-01-28 1:12 UTC (permalink / raw)
To: Scott Garman; +Cc: poky
On 01/21/2011 04:27 PM, Scott Garman wrote:
> Hi Saul,
>
> This pull request includes a fix for the issue Diego Sueiro
> reported where relative paths given to the poky-extract-sdk
> script cause errors.
>
> Josh: This is a low-risk commit that I'd like to see included
> with our Laverne point-release.
>
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: sgarman/extract-sdk-fix
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/extract-sdk-fix
>
> Thanks,
> Scott Garman<scott.a.garman@intel.com>
> ---
>
>
> Scott Garman (1):
> poky-extract-sdk: allow relative paths for extract-dir
>
> scripts/poky-extract-sdk | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Pulled into Master
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-28 1:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22 0:27 [PATCH 0/1] poky-extract-sdk bugfix for #670 Scott Garman
2011-01-22 0:27 ` [PATCH 1/1] poky-extract-sdk: allow relative paths for extract-dir Scott Garman
2011-01-28 1:12 ` [PATCH 0/1] poky-extract-sdk bugfix for #670 Saul Wold
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.