From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver
Date: Wed, 11 Apr 2012 08:17:27 -0700 [thread overview]
Message-ID: <4F85A087.9000604@linux.intel.com> (raw)
In-Reply-To: <c029961dba1927336453127d856d38961a52b641.1334124374.git.xiaofeng.yan@windriver.com>
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!
prev parent reply other threads:[~2012-04-11 15:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F85A087.9000604@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.