diff --git a/repos/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py b/repos/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py index 12753c72ee..cd2d7d6efd 100644 --- a/repos/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py +++ b/repos/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py @@ -313,10 +313,6 @@ def _get_files_owned_by_rpms(context, dirpath, pkgs=None, recursive=False): for root, _, files in os.walk(searchdir): for filename in files: relpath = os.path.relpath(os.path.join(root, filename), searchdir) - # "directory-hash" files are not owned by any package and can dynamically - # grow to a huge amount of files causing hitting open files limit - if 'directory-hash' in relpath: - continue file_list.append(relpath) else: file_list = os.listdir(searchdir)