diff options
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 8f091e8990..b5e75d97bb 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -235,11 +235,11 @@ class ORMWrapper(object): | |||
235 | path = d[4].lstrip(".") | 235 | path = d[4].lstrip(".") |
236 | parent_path = "/".join(path.split("/")[:len(path.split("/")) - 1]) | 236 | parent_path = "/".join(path.split("/")[:len(path.split("/")) - 1]) |
237 | inodetype = Target_File.ITYPE_REGULAR | 237 | inodetype = Target_File.ITYPE_REGULAR |
238 | if permission.startswith('b'): | 238 | if d[0].startswith('b'): |
239 | inodetype = Target_File.ITYPE_BLOCK | 239 | inodetype = Target_File.ITYPE_BLOCK |
240 | if permission.startswith('c'): | 240 | if d[0].startswith('c'): |
241 | inodetype = Target_File.ITYPE_CHARACTER | 241 | inodetype = Target_File.ITYPE_CHARACTER |
242 | if permission.startswith('p'): | 242 | if d[0].startswith('p'): |
243 | inodetype = Target_File.ITYPE_FIFO | 243 | inodetype = Target_File.ITYPE_FIFO |
244 | 244 | ||
245 | tf_obj = Target_File.objects.create( | 245 | tf_obj = Target_File.objects.create( |
@@ -286,7 +286,7 @@ class ORMWrapper(object): | |||
286 | target = target_obj, | 286 | target = target_obj, |
287 | path = path, | 287 | path = path, |
288 | size = size, | 288 | size = size, |
289 | inodetype = Target_File.ITYPE_REGULAR, | 289 | inodetype = Target_File.ITYPE_SYMLINK, |
290 | permission = permission, | 290 | permission = permission, |
291 | owner = user, | 291 | owner = user, |
292 | group = group, | 292 | group = group, |