plus3it / amigen8

Set of tools to provide automation of tasks for creating STIG-partitioned EL8 AMIs
10 stars 14 forks source link

[BUG] `OSpackage.sh` Script Should Not Attempt to Decompose Repository-Defined RPM-Lists When Invoking The Full `yum install` #99

Open ferricoxide opened 10 months ago

ferricoxide commented 10 months ago

Describe the bug

OSpackages.sh is intended to allow installation from either a yum repository-defined RPM package-group or a manifest file. Presumably, at some point, the package-group logic got changed so that, instead of directly referencing the package-group by name, the full yum install logic uses a list of RPMs generated by decomposing the repository-defined RPM package-group into its constituent RPMs. While the two methods should be equivalent, they may not be if a given distro has poor dependency-resolution and makes use of other-than-core package-groups more difficult/error-prone than it needs to be (see #98). Also makes seeking support from a vendor or repository-owner more difficult when errors are encountered in the overall build-process

Expected behavior

When checking the build-logs, one should see a yum install @<GROUP_NAME> installation-method being invoked, not yum install RPM1 RPM2 … RPMn (if not using the -m flag to pass a manually-composed RPM-manifest file).

Deviance Description

All builds currently take the form of yum install RPM1 RPM2 … RPMn , regardless of whether using repository-defined RPM-groups or RPM-manifest files.