summaryrefslogtreecommitdiffstats
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):
21 if os.path.islink(fpath): 21 if os.path.islink(fpath):
22 fpath = os.readlink(fpath) 22 fpath = os.readlink(fpath)
23 if not os.path.isabs(fpath): 23 if not os.path.isabs(fpath):
24 fpath = os.path.normpath(os.path.join(directory, fpath)) 24 # Skip symlinks
25 continue
25 26
26 if os.path.isdir(fpath): 27 if os.path.isdir(fpath):
27 process_dir(fpath, d) 28 process_dir(fpath, d)