Description
Build an appliance based upon the modular appliances, which are designed to provide more comprehensive BoxGrinder Build feature coverage.
Setup
Clone the BoxGrinder test appliances into a convenient location using command git clone https://github.com/msavy/boxgrinder-appliances.git
We must create a local RPM repository in order to include our custom programs, this is the most effective way of adding custom applications into a BoxGrinder appliance. All of the hard work of dependency resolution is done via the RPMs!
- Create a directory tree of
/var/repo/RPMS/noarch/
- Download the BoxGrinder test RPM file (
wget --directory-prefix=/var/repo/RPMS/noarch http://www.boxgrinder.org/testday/ephemeral-test.rpm
) to/var/repo/RPMS/noarch/
- Execute
createrepo /var/repo/RPMS/noarch
How to test
- Navigate to directory
boxgrinder-appliances/testing-appliances/modular-appls/
- Execute
boxgrinder-build fedora_rawhide.appl
Expected Results
The following must be true to consider this a successful test run.
- Step #2 completes without error (indicated on console)
- Program completes with exit code 0