Dependencies.from_config should include the base system deps.

This commit is contained in:
Fabio Manganiello 2023-08-23 02:16:33 +02:00
parent 8f39231d31
commit cddf318fa7
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -285,7 +285,15 @@ class Dependencies:
"""
Parse the required dependencies from a configuration file.
"""
if not pkg_manager:
pkg_manager = PackageManagers.scan()
base_system_deps = cls._get_base_system_dependencies(
pkg_manager=pkg_manager, install_context=install_context
)
deps = cls(
packages=set(base_system_deps),
pkg_manager=pkg_manager,
install_context=install_context,
base_image=base_image,