第 4 章 从 Red Hat Ansible Automation Platform 提供的现有基本 EE 构建
4.1. 收集系统级别的依赖项
bindep
格式提供了一种指定跨平台要求的方法。至少,集合会为 [platform:rpm]
指定必要的要求。
以下是有效 bindep.txt
文件中的内容示例:
例 4.1. bindep.txt
文件
python38-devel [platform:rpm compile] subversion [platform:rpm] git-lfs [platform:rpm]
来自多个集合的条目将合并到一个文件中。这将通过 bindep
进行处理,然后传递到 dnf
。镜像中仅会安装没有配置集或无运行时要求的要求。