CentOS Build Requirements
- Packaging scripts
- MariaDB sources
- bzr. The bzr version of CentOS is too old to use it with MariaDB. You have to install Bazaar from source.
- The following rpm packages:
- gperf
- rpm-devel
- rpm-build
- rpmdevtools
- libdbi
- For a fully automated build you need a sudo without password. This is NOT recommended on production systems! You have been warned!
visudo- and uncomment the line %wheel ALL=(ALL) NOPASSWD: ALL
- usermod -a -G wheel {your_system_username}
CentOS .rpm Build Steps
First setup your build environment.
Create your CentOS packages.
cd $PACKAGING_WORK bakery/preheat.sh cd bakery_{number} bakery/tarbake51.sh last:1 $MARIA_WORK bakery/autobake51-centos.sh mariadb-{version_num}-maria-beta-ourdelta{number}.tar.gz
Update your Repositories
On subsequent packaging builds, you just update your repositories and run the packaging scripts:
rm -rf $MARIA_WORK rm -rf $PACKAGING_WORK cd $MARIA_MASTER $BZR pull $BZR branch $MARIA_MASTER $MARIA_WORK cd $PACKAGING_MASTER $BZR pull $BZR branch $PACKAGING_MASTER $PACKAGING_WORK
Now you can Create your CentOS packages again.
Comments
Comments loading...