[gnome-continuous-yocto/gnomeostree-3.28-rocko: 440/8267] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 440/8267] lib/oe/rootfs: Fix DEBUGFS generation, without openssl
- Date: Sat, 16 Dec 2017 20:25:47 +0000 (UTC)
commit e73a85be3e020561db92a197c593afe7fd952919
Author: Anders Darander <anders chargestorm se>
Date: Fri May 20 11:01:01 2016 +0200
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].
(From OE-Core rev: f6b0b260ce18a30d04edfb0afb7942b9f9a5480b)
Signed-off-by: Anders Darander <anders chargestorm se>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oe/rootfs.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index f5c465f..7087b12 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -116,6 +116,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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]