diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 73e8f6365..3dbe308d0 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -936,8 +936,11 @@ python populate_packages () { unshipped = [] for root, dirs, files in os.walk(dvar): + dir = root[len(dvar):] + if not dir: + dir = os.sep for f in files: - path = os.path.join(root[len(dvar):], f) + path = os.path.join(dir, f) if ('.' + path) not in seen: unshipped.append(path) |