Difference between revisions of "RPM Build system"
From Freeside
m (Reverted edits by IsletaCordova (Talk); changed back to last version by Ivan) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
* [http://freeside.biz/~ivan/rpm_buildsys.tar.gz http://freeside.biz/~ivan/rpm_buildsys.tar.gz] | * [http://freeside.biz/~ivan/rpm_buildsys.tar.gz http://freeside.biz/~ivan/rpm_buildsys.tar.gz] | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | * [[Freeside:Documentation:RPMBuildSystem]] | ||
+ | * [[Freeside:Documentation:CreatingRPMRepo]] | ||
= Targets = | = Targets = | ||
Line 19: | Line 24: | ||
== Primary == | == Primary == | ||
− | * Freeside 1 | + | * Freeside 2.1, RHEL and CentOS 5 |
== Secondary == | == Secondary == | ||
+ | * RHEL and CentOS 6 | ||
* Freeside 1.7, SLES 10 | * Freeside 1.7, SLES 10 | ||
− | |||
== Tertiary == | == Tertiary == | ||
− | * | + | * Current verions, SLES 10 |
+ | * SLES 11 | ||
= Future directions = | = Future directions = | ||
− | # | + | # get a repo going for Freeside 2.1 on RHEL/CentOS 5, perl deps, etc. |
− | |||
− | |||
− | |||
# Fix problems reliably building current code from CVS (default "force flag" on?), overhaul build system as necessary. current build system keeps including old code when we try to iterate fixes out to customers. | # Fix problems reliably building current code from CVS (default "force flag" on?), overhaul build system as necessary. current build system keeps including old code when we try to iterate fixes out to customers. | ||
− | + | # Fix to work with current yum/createrepo/mock (drop RHEL/CentOS 4) | |
# Check build system into CVS, figure out how to have rpm signing stuff pull the passphrase from elsewhere, update to new key | # Check build system into CVS, figure out how to have rpm signing stuff pull the passphrase from elsewhere, update to new key | ||
− | + | # Optimize build times, omit unneeded platforms, parallelize things, add options to do a specific build only | |
− | # Optimize build times, omit unneeded platforms | ||
− | |||
# get a repo going for Freeside 2.1 on RHEL/CentOS 5 | # get a repo going for Freeside 2.1 on RHEL/CentOS 5 | ||
− | + | # Add RT to build (2.1+, RHEL5+) | |
− | # Add RT to build (1 |
Latest revision as of 17:47, 15 November 2011
Contents
Current system
Architecture
- Uses "mock", "createrepo" and "ovid" (not necessarily attached to those tools)
- Controlled from Debian 5 server in conjunction with CentOS 5 vserver. (Not attached to this architecture; can move more things to the CentOS side and/or setup a vmware image instead of a vserver if either helps)
Usage
- enrpm is used to package new Perl deps from CPAN or .tar.gz files and update the repo
- cvs-check-and-build is used to package new Freeside versions and update the repo
Code
See also
Targets
Primary
- Freeside 2.1, RHEL and CentOS 5
Secondary
- RHEL and CentOS 6
- Freeside 1.7, SLES 10
Tertiary
- Current verions, SLES 10
- SLES 11
Future directions
- get a repo going for Freeside 2.1 on RHEL/CentOS 5, perl deps, etc.
- Fix problems reliably building current code from CVS (default "force flag" on?), overhaul build system as necessary. current build system keeps including old code when we try to iterate fixes out to customers.
- Fix to work with current yum/createrepo/mock (drop RHEL/CentOS 4)
- Check build system into CVS, figure out how to have rpm signing stuff pull the passphrase from elsewhere, update to new key
- Optimize build times, omit unneeded platforms, parallelize things, add options to do a specific build only
- get a repo going for Freeside 2.1 on RHEL/CentOS 5
- Add RT to build (2.1+, RHEL5+)