=== modified file 'linaro-media-create'
@@ -181,7 +181,7 @@
# if not a debian compatible system, just extract the kernel packages
extract_kpkgs = False
if not path_in_tarfile_exists(
- filesystem_dir + '/etc/debian_version', args.binary):
+ os.path.join(filesystem_dir, '/etc/debian_version'), args.binary):
extract_kpkgs = True
ROOTFS_DIR = os.path.join(BIN_DIR, filesystem_dir)
=== modified file 'linaro_image_tools/media_create/chroot_utils.py'
@@ -46,7 +46,7 @@
def install_hwpacks(
chroot_dir, tmp_dir, tools_dir, hwpack_force_yes, verified_files,
- extract_kpkgs = False, *hwpack_files):
+ extract_kpkgs=False, *hwpack_files):
"""Install the given hwpacks onto the given chroot."""
prepare_chroot(chroot_dir, tmp_dir)