add more system package debugging

This commit is contained in:
Fredrik Eriksson 2024-07-26 12:19:28 +02:00
parent 9970fe3365
commit ae560e96c0
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -117,6 +117,7 @@ def is_system_package(atom, eclasses):
# sys-boot/ category should probably always be considered
# system-packages
if name.split('/')[0] == 'sys-boot':
log.debug(f"{name} is a sys-boot package")
return True
# libc-packages should be considered system-packages as they generally
@ -124,6 +125,7 @@ def is_system_package(atom, eclasses):
# then just checking for specific packages here, but as far as I know there
# are not many of them anyway...
if re.search(r'^sys-libs/(glibc|musl)', name):
log.debug(f"{name} is a libc package")
return True
if any([