* [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
@ 2016-05-23 5:03 Anders Darander
2016-05-23 5:26 ` akuster808
0 siblings, 1 reply; 5+ messages in thread
From: Anders Darander @ 2016-05-23 5:03 UTC (permalink / raw)
To: openembedded-core, akuster808; +Cc: Anders Darander
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)
---
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)
--
2.8.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
2016-05-23 5:03 [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl Anders Darander
@ 2016-05-23 5:26 ` akuster808
2016-06-07 7:31 ` Anders Darander
0 siblings, 1 reply; 5+ messages in thread
From: akuster808 @ 2016-05-23 5:26 UTC (permalink / raw)
To: Anders Darander, openembedded-core
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)
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
2016-05-23 5:26 ` akuster808
@ 2016-06-07 7:31 ` Anders Darander
2016-06-27 7:03 ` Anders Darander
0 siblings, 1 reply; 5+ messages in thread
From: Anders Darander @ 2016-06-07 7:31 UTC (permalink / raw)
To: akuster808; +Cc: openembedded-core
Hi,
* akuster808 <akuster808@gmail.com> [160523 07:29]:
> 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.
What's the status of this? Waiting for autobuilders?
Martin sent a query for this patch last week.
Cheers,
Anders
--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
2016-06-07 7:31 ` Anders Darander
@ 2016-06-27 7:03 ` Anders Darander
2016-06-29 14:42 ` akuster808
0 siblings, 1 reply; 5+ messages in thread
From: Anders Darander @ 2016-06-27 7:03 UTC (permalink / raw)
To: akuster808, openembedded-core
Ping.
What's the current status?
Anders Darander <anders@chargestorm.se> [160607 09:31]:
> * akuster808 <akuster808@gmail.com> [160523 07:29]:
> > 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.
> What's the status of this? Waiting for autobuilders?
> Martin sent a query for this patch last week.
I'm also eager to get this into the krogoth-branch. I'd like to enable
debugfs, though, I'm also trying my best to not have to fork the krogoth
branch...
Cheers,
Anders
--
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
2016-06-27 7:03 ` Anders Darander
@ 2016-06-29 14:42 ` akuster808
0 siblings, 0 replies; 5+ messages in thread
From: akuster808 @ 2016-06-29 14:42 UTC (permalink / raw)
To: openembedded-core
On 06/27/2016 12:03 AM, Anders Darander wrote:
> Ping.
>
> What's the current status?
Submitted again. Hope it makes in this time.
- armin
>
> Anders Darander <anders@chargestorm.se> [160607 09:31]:
>> * akuster808 <akuster808@gmail.com> [160523 07:29]:
>>> 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.
>
>> What's the status of this? Waiting for autobuilders?
>
>> Martin sent a query for this patch last week.
>
> I'm also eager to get this into the krogoth-branch. I'd like to enable
> debugfs, though, I'm also trying my best to not have to fork the krogoth
> branch...
>
> Cheers,
> Anders
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-06-29 14:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-23 5:03 [krogoth][PATCH] lib/oe/rootfs: Fix DEBUGFS generation, without openssl Anders Darander
2016-05-23 5:26 ` akuster808
2016-06-07 7:31 ` Anders Darander
2016-06-27 7:03 ` Anders Darander
2016-06-29 14:42 ` akuster808
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox