* [PATCH 0/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver
@ 2012-04-11 6:15 Xiaofeng Yan
2012-04-11 6:15 ` [PATCH 1/1] " Xiaofeng Yan
0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2012-04-11 6:15 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
When running "bitbake core-imamge-minmal", error information like the following will appear:
ERROR: Error executing a python function in
/buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb:
IOError: [Errno 2] No such file or directory:
'/buildarea2/yzhao-test/poky-test/build-archive/downloads/zlib-1.2.6.tar.bz2'
An absolute path from variable "file" pointed to tarballs in ${DL_DIR} cause this problem. So return base-name of "file" for fixing this bug here.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/2272
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/2272
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR}
to ${DEPLOY_DIR}/source when enable archiver
meta/classes/archiver.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver
2012-04-11 6:15 [PATCH 0/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver Xiaofeng Yan
@ 2012-04-11 6:15 ` Xiaofeng Yan
2012-04-11 15:17 ` Saul Wold
0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2012-04-11 6:15 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
When running "bitbake core-imamge-minmal", the error information like the following will appear:
ERROR: Error executing a python function in
/buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb:
IOError: [Errno 2] No such file or directory:
'/buildarea2/yzhao-test/poky-test/build-archive/downloads/zlib-1.2.6.tar.bz2'
An absolute path from variable "file" pointed to tarballs in ${DL_DIR} \
cause this problem. So return base-name of "file" for fixing this bug here.
[YOCTO #2272]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
meta/classes/archiver.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 4e4e964..59b58f4 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -173,6 +173,7 @@ def archive_sources(d,stage_name):
file = get_source_from_downloads(d,stage_name)
if file:
shutil.copy(file,work_dir)
+ file = os.path.basename(file)
else:
file = archive_sources_from_directory(d,stage_name)
return file
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver
2012-04-11 6:15 ` [PATCH 1/1] " Xiaofeng Yan
@ 2012-04-11 15:17 ` Saul Wold
0 siblings, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-04-11 15:17 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 04/10/2012 11:15 PM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> When running "bitbake core-imamge-minmal", the error information like the following will appear:
> ERROR: Error executing a python function in
> /buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb:
> IOError: [Errno 2] No such file or directory:
> '/buildarea2/yzhao-test/poky-test/build-archive/downloads/zlib-1.2.6.tar.bz2'
>
> An absolute path from variable "file" pointed to tarballs in ${DL_DIR} \
> cause this problem. So return base-name of "file" for fixing this bug here.
>
> [YOCTO #2272]
>
> Signed-off-by: Xiaofeng Yan<xiaofeng.yan@windriver.com>
> ---
> meta/classes/archiver.bbclass | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
> index 4e4e964..59b58f4 100644
> --- a/meta/classes/archiver.bbclass
> +++ b/meta/classes/archiver.bbclass
> @@ -173,6 +173,7 @@ def archive_sources(d,stage_name):
> file = get_source_from_downloads(d,stage_name)
> if file:
> shutil.copy(file,work_dir)
> + file = os.path.basename(file)
> else:
> file = archive_sources_from_directory(d,stage_name)
> return file
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-11 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-11 6:15 [PATCH 0/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver Xiaofeng Yan
2012-04-11 6:15 ` [PATCH 1/1] " Xiaofeng Yan
2012-04-11 15:17 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox