lib/oe/rootfs: Fix DEBUGFS generation, without openssl
PATCH 1/1 lib/oe/rootfs: Fix DEBUGFS generation, without openssl
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].
--- meta/lib/oe/rootfs.py | 2 ++ 1 file changed, 2 insertions(+)
meta/lib/oe/rootfs.py +2 -0
@@ -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)
Signature · 1 line
2.8.1
Quoted 7 lines · 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.
Quoted 5 lines
This relates to [YOCTO #9040].
Signed-off-by Anders Darander <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit f6b0b260ce18a30d04edfb0afb7942b9f9a5480b)
pulled in.
thanks.
Armin
Quoted 18 lines
--- meta/lib/oe/rootfs.py | 2 ++ 1 file changed, 2 insertions(+)meta/lib/oe/rootfs.py +2
-0@@ -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)
Hi,
Quoted 8 lines · * akuster808 <[email protected]> [160523 07:29]:
Quoted 6 lines · 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.
Quoted 7 lines
Quoted 5 lines
This relates to [YOCTO #9040].
Signed-off-by Anders Darander <[email protected]>Signed-off-by Richard Purdie <[email protected]>(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
Signature · 2 lines
Anders Darander, Senior System Architect ChargeStorm AB / eStorm AB
Ping.
What's the current status?
Anders Darander <[email protected]> [160607 09:31]:
Quoted 15 lines · * akuster808 <[email protected]> [160523 07:29]:
Quoted 13 lines · Anders Darander
Quoted 12 lines
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 <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit f6b0b260ce18a30d04edfb0afb7942b9f9a5480b)
Quoted 5 lines
Quoted 1 line
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
Signature · 2 lines
Anders Darander, Senior System Architect ChargeStorm AB / eStorm AB
Quoted 3 lines · Anders Darander
Ping.
What's the current status?
Submitted again. Hope it makes in this time.
- armin
Quoted 30 lines
Anders Darander <[email protected]> [160607 09:31]:
Quoted 15 lines · * akuster808 <[email protected]> [160523 07:29]:
Quoted 13 lines · Anders Darander
Quoted 12 lines
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 <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit f6b0b260ce18a30d04edfb0afb7942b9f9a5480b)Quoted 5 lines
Quoted 1 line
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