diff options
-rw-r--r-- | meta/classes/relocatable.bbclass | 6 |
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): | |||
19 | for file in dirs: | 19 | for file in dirs: |
20 | fpath = directory + "/" + file | 20 | fpath = directory + "/" + file |
21 | if os.path.islink(fpath): | 21 | if os.path.islink(fpath): |
22 | fpath = os.readlink(fpath) | 22 | # Skip symlinks |
23 | if not os.path.isabs(fpath): | 23 | continue |
24 | # Skip symlinks | ||
25 | continue | ||
26 | 24 | ||
27 | if os.path.isdir(fpath): | 25 | if os.path.isdir(fpath): |
28 | process_dir(fpath, d) | 26 | process_dir(fpath, d) |