Openembedded Core Discussions
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: Anders Darander <anders@chargestorm.se>,
	openembedded-core@lists.openembedded.org
Subject: Re: [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
Date: Sun, 22 May 2016 22:26:58 -0700	[thread overview]
Message-ID: <574294A2.9000806@gmail.com> (raw)
In-Reply-To: <1463979792-7559-1-git-send-email-anders@chargestorm.se>



On 05/22/2016 10:03 PM, Anders Darander wrote:
> In commit 20ea6d274bb0a9a5addb111f32793de49b907865, debugfs generation
> for images using opkg, which included openssl was fixed.
> 
> However, that broke the generation of the opkg-based images, that lacks
> openssl. The error is a python stack trace, showing that shutil.copytree
> tries to copy a non-existing directory.
> 
> This relates to [YOCTO #9040].
> 
> Signed-off-by: Anders Darander <anders@chargestorm.se>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> (cherry picked from commit f6b0b260ce18a30d04edfb0afb7942b9f9a5480b)

pulled in.

thanks.
Armin
> ---
>  meta/lib/oe/rootfs.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
> index 95fd3ab..41f08f5 100644
> --- a/meta/lib/oe/rootfs.py
> +++ b/meta/lib/oe/rootfs.py
> @@ -121,6 +121,8 @@ class Rootfs(object):
>  
>          bb.note("  Copying back package database...")
>          for dir in dirs:
> +            if not os.path.isdir(self.image_rootfs + '-orig' + dir):
> +                continue
>              bb.utils.mkdirhier(self.image_rootfs + os.path.dirname(dir))
>              shutil.copytree(self.image_rootfs + '-orig' + dir, self.image_rootfs + dir, symlinks=True)
>  
> 


  reply	other threads:[~2016-05-23  5:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23  5:03 [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl Anders Darander
2016-05-23  5:26 ` akuster808 [this message]
2016-06-07  7:31   ` Anders Darander
2016-06-27  7:03     ` Anders Darander
2016-06-29 14:42       ` akuster808

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=574294A2.9000806@gmail.com \
    --to=akuster808@gmail.com \
    --cc=anders@chargestorm.se \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox