diff options
author | John Morris <john@zultron.com> | 2014-04-20 17:06:54 -0500 |
---|---|---|
committer | John Morris <john@zultron.com> | 2014-04-21 11:13:26 -0500 |
commit | 2454dddb3a5a0afdcfc2f875edfdcc7b5a85d4ba (patch) | |
tree | b6991acdcdf20b381d553fcada77c914fcbbf895 /src/sbin/bcfg2-test | |
parent | d2ca484d6bd07c3d7b36a9da8b59f4c1c523445d (diff) | |
download | bcfg2-2454dddb3a5a0afdcfc2f875edfdcc7b5a85d4ba.tar.gz bcfg2-2454dddb3a5a0afdcfc2f875edfdcc7b5a85d4ba.tar.bz2 bcfg2-2454dddb3a5a0afdcfc2f875edfdcc7b5a85d4ba.zip |
Enable bcfg2-yum-helper to depsolve for arches incompatible with server
By default, the yum dependency resolver uses the host's architecture
to filter compatible packages. This prevents dependency resolution
when the bcfg2 client's architecture is incompatible with the
server's.
This workaround checks the <Arch/> element for each of the client's yum
sources, and if they are all identical, passes that architecture to
bcfg2-yum-helper to override the default.
The rpmUtils.arch module may only be configured for a single
architecture. If multiple architectures are configured in yum
sources, we don't know which one to pick, so use the default behavior
instead.
Diffstat (limited to 'src/sbin/bcfg2-test')
0 files changed, 0 insertions, 0 deletions