Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
This page has not been kept up to date, better to use : [[Setting up RPM Building for SME Server on rocky 8]]
 +
 +
 +
 
Instructions for using Rocky9 as an SMEServer build system - using git and mock to build rpm.
 
Instructions for using Rocky9 as an SMEServer build system - using git and mock to build rpm.
    
1. Minimal Rocky  install  - 2Gb RAM, 32Gb HD
 
1. Minimal Rocky  install  - 2Gb RAM, 32Gb HD
   −
2. Extras needed: git, rpmbuild, epel-release, mock, make  (and I use mc).
+
2. Extras needed: git, rpm-build, epel-release, mock, make  (and I use mc).
    
3. Add user to mock group "sudo usermod -a -G mock <username>"
 
3. Add user to mock group "sudo usermod -a -G mock <username>"
   −
4. Add "smeserver-10-x86_64-base.cfg" to /etc/mock:<syntaxhighlight>
+
4. Add "smeserver-10-x86_64-base.cfg" to /etc/mock with the following:<syntaxhighlight>
    
config_opts['package_manager'] = 'yum'
 
config_opts['package_manager'] = 'yum'
Line 126: Line 130:     
</syntaxhighlight>
 
</syntaxhighlight>
5 cd ~; mkdir GitFiles; cd GitFiles; git clone https://src.koozali.org/brianr/smeserver-mailstats.git; cd smeserver-mailstats/contribs10; make mockbuild
+
5 Execute the following command string.
 +
cd ~; mkdir GitFiles; cd GitFiles; git clone https://src.koozali.org/brianr/smeserver-mailstats.git; cd smeserver-mailstats/; make mockbuild

Navigation menu