diff --git a/tools/pkgmirror-jailrevalidator.py b/tools/pkgmirror-jailrevalidator.py index ee8277f..54792fb 100755 --- a/tools/pkgmirror-jailrevalidator.py +++ b/tools/pkgmirror-jailrevalidator.py @@ -386,6 +386,7 @@ def half_liverun(pkgmirror_url: str, abi: str, verbose: bool, packages: str): url_pkgsite_txz = '/'.join((url_prefix, 'packagesite.txz')) # .txz will be phased out over time url_pkgsite_pkg = '/'.join((url_prefix, 'packagesite.pkg')) + url_data_pkg = '/'.join((url_prefix, 'data.pkg')) if verbose: logger.debug(msg=f'Fetching {url_meta_conf}') meta_conf = \ @@ -404,6 +405,11 @@ def half_liverun(pkgmirror_url: str, abi: str, verbose: bool, packages: str): if verbose: logger.debug( msg=f'{url_pkgsite_pkg} size is {len(pkgsite_pkg.content)}') + data_pkg = \ + _get_fetched_url(url=url_data_pkg, do_hash=False, cachebust=True) + if verbose: + logger.debug( + msg=f'{url_data_pkg} size is {len(data_pkg.content)}') io = BytesIO(initial_bytes=pkgsite_txz.content) resolver = DependencyResolver( packages_txz_fd=io, verbose=verbose, passed_packages=packages)