Message ID | 20121018131016.18252.75035.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'linaro_image_tools/hwpack/builder.py' --- linaro_image_tools/hwpack/builder.py 2012-10-17 16:04:35 +0000 +++ linaro_image_tools/hwpack/builder.py 2012-10-18 13:09:21 +0000 @@ -370,6 +370,11 @@ build_info_available = 0 for deb_pkg in self.packages: deb_pkg_file_path = deb_pkg.filepath + # FIXME: test deb_pkg_dir to work around + # https://bugs.launchpad.net/bugs/1067786 + deb_pkg_dir = os.path.dirname(deb_pkg_file_path) + if deb_pkg_dir != cache_dir: + continue if os.path.islink(deb_pkg_file_path): # Skip symlink-ed debian package file # e.g. fetched package with dummy information