summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/relocatable.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass
index d92847b25d..6954f2d967 100644
--- a/meta/classes/relocatable.bbclass
+++ b/meta/classes/relocatable.bbclass
@@ -21,7 +21,8 @@ def process_dir (directory, d):
if os.path.islink(fpath):
fpath = os.readlink(fpath)
if not os.path.isabs(fpath):
- fpath = os.path.normpath(os.path.join(directory, fpath))
+ # Skip symlinks
+ continue
if os.path.isdir(fpath):
process_dir(fpath, d)