Ganeti RPM Packaging
Ganeti RPM Packaging for RHEL/CentOS/Scientific Linux and Fedora.
Packaging status
- RHEL/CentOS/Scientific Linux 7.x: 2.16.2-1
- RHEL/CentOS/Scientific Linux 6.x: 2.11.8-2
Documentation
YUM repository and binary RPM files
Building RPM Packages with Docker
You can build RPM packages in Docker.
docker build -t ganeti-rpmbuild-centos7 -f docker/Dockerfile.centos7 .
# pull the latest base image + no cache
docker build -t ganeti-rpmbuild-centos7 -f docker/Dockerfile.centos7 . --pull=true --no-cache
Run the container with bash:
BUILD_HOSTNAME=ganeti-rpm-build.integ.jp
docker run -h ${BUILD_HOSTNAME} --rm -it -v $PWD:/pkg ganeti-rpmbuild-centos7 bash
cd /pkg
Run build command in the container
Uninstall, clean, and build all packages, and install:
./package.sh -ucia
Uninstall and clean all packages, and build ganeti dependencies packages only, and install:
./package.sh -ucid
Uninstall and clean all packages, and build the specified package(s) only, and install:
./package.sh -ucip PACKAGE
Build all packages with no overwrite and install:
./package.sh -o no -ia
Build the new ganeti RPM package version using the already released dependency libraries and install:
yum install http://jfut.integ.jp/linux/ganeti/7/x86_64/integ-ganeti-release-7-2.el7.noarch.rpm
yum-config-manager --enable integ-ganeti
./package.sh -ip ganeti
List ghc dependencies in target packages
./package.sh -ucid
./package.sh -l
Signing RPM Packages
Run the container with bash:
BUILD_HOSTNAME=ganeti-rpm-build.integ.jp
docker run -h ${BUILD_HOSTNAME} --rm -it -v $PWD:/pkg -v ~/.gnupg:/root/.gnupg ganeti-rpmbuild-centos7 bash
cd /pkg
# Set your gpg name
echo "%_gpg_name jfut-rpm@integ.jp" >> ~/.rpmmacros
Sign all packages:
./package.sh -sa
Sign the specified package(s) only:
./package.sh -sp PACAKGE
Other Ganeti resources
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request