summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 73e8f6365f..3dbe308d0e 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -936,8 +936,11 @@ python populate_packages () {
936 936
937 unshipped = [] 937 unshipped = []
938 for root, dirs, files in os.walk(dvar): 938 for root, dirs, files in os.walk(dvar):
939 dir = root[len(dvar):]
940 if not dir:
941 dir = os.sep
939 for f in files: 942 for f in files:
940 path = os.path.join(root[len(dvar):], f) 943 path = os.path.join(dir, f)
941 if ('.' + path) not in seen: 944 if ('.' + path) not in seen:
942 unshipped.append(path) 945 unshipped.append(path)
943 946