anvil/tools/bootstrap/CommonRedHat
Joshua Harlow d37e725773 Cleanups after new changes/features.
- Some style adjustments.
- Use SRC_REPOS for mapping repo name to source repository name.
- Split the build_binary into individual tiny functions.
- Fix up the progress bars and iterable logging.
- Ensure that we log that we wrote to /etc/yum.repos.d and leave a trace for later cleanup.
- Quiet some of the new executes (and put there output to files).
- Add a smithy clean_pip() function that will help avoid hitting https://github.com/pypa/pip/issues/982
- Further cleanup of smithy after it being partially rewritten.
- Instead of hard coding 'conf/distros/rhel.yaml' in smithy, take this from the sourced file.
- Ensure that we can't remove packages smithy requires to operate.
- Ensure the package version that py2rpm is building is also trimmed of zeros.

Change-Id: I2df8a47f0115de2684777b64db42e08d50ef4115
2013-06-21 22:23:13 -07:00

25 lines
431 B
Bash

# -*- sh -*-
STEPS="epel rpm_packages python_rpms"
EPEL_RPM_URL="http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm"
DISTRO_CONFIG=conf/distros/rhel.yaml
## Bootstrap for Red Hat based distros
REQUIRES='
gcc
git
patch
python
python-devel
createrepo
yum-utils
yum-plugin-remove-with-leaves
PyYAML
rpm-build
python-pip
python-argparse
python-setuptools
'