forked from platypush/platypush
Dependencies.from_config should include the base system deps.
This commit is contained in:
parent
8f39231d31
commit
cddf318fa7
1 changed files with 8 additions and 0 deletions
|
@ -285,7 +285,15 @@ class Dependencies:
|
||||||
"""
|
"""
|
||||||
Parse the required dependencies from a configuration file.
|
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(
|
deps = cls(
|
||||||
|
packages=set(base_system_deps),
|
||||||
pkg_manager=pkg_manager,
|
pkg_manager=pkg_manager,
|
||||||
install_context=install_context,
|
install_context=install_context,
|
||||||
base_image=base_image,
|
base_image=base_image,
|
||||||
|
|
Loading…
Reference in a new issue