diff options
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 4e9b79efe2..5765e127d0 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -946,6 +946,8 @@ python populate_packages () { | |||
946 | for file in files: | 946 | for file in files: |
947 | if os.path.isabs(file): | 947 | if os.path.isabs(file): |
948 | file = '.' + file | 948 | file = '.' + file |
949 | if not file.startswith("./"): | ||
950 | file = './' + file | ||
949 | if not cpath.islink(file): | 951 | if not cpath.islink(file): |
950 | if cpath.isdir(file): | 952 | if cpath.isdir(file): |
951 | newfiles = [ os.path.join(file,x) for x in os.listdir(file) ] | 953 | newfiles = [ os.path.join(file,x) for x in os.listdir(file) ] |