summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/relocatable.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass
index 6954f2d967..36545530c7 100644
--- a/meta/classes/relocatable.bbclass
+++ b/meta/classes/relocatable.bbclass
@@ -19,10 +19,8 @@ def process_dir (directory, d):
for file in dirs:
fpath = directory + "/" + file
if os.path.islink(fpath):
- fpath = os.readlink(fpath)
- if not os.path.isabs(fpath):
- # Skip symlinks
- continue
+ # Skip symlinks
+ continue
if os.path.isdir(fpath):
process_dir(fpath, d)