Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 108: Line 108:     
  # If there is no sme9 directory do  
 
  # If there is no sme9 directory do  
  $ cd ~rpms/module_name
+
  cd ~/smeserver/rpms/
  $ ln -s sme8 devel
+
rm -rf ~/smeserver/rpms/smeserver-package
  $ cd devel
+
cvs co smeserver-package
  $ make mockbuild
+
cd smeserver-package
 +
#then you can copy (DO NOT MODIFY ANYTHING before commiting!!!):
 +
  cp -a sme8 sme9
 +
rm -rf sme9/CVS
 +
cvs add sm9
 +
  cd sme9
 +
find ./ -name CVS -prune -o -print | xargs cvs add cvs commit -m 'Initial import'
 +
# and finally build
 +
  make mockbuild
    
Mock will determine which configuration to use, but you can specify it if wanting to build for a different architecture for instance.
 
Mock will determine which configuration to use, but you can specify it if wanting to build for a different architecture for instance.
  BUILDARCH=i386 make mockbuild
+
  BUILDARCH=i386
 +
make mockbuild
    
It will determine if this is for SME Server 9 or 8, and the package to build, based on which directory that you are in. The results are put under that directory.
 
It will determine if this is for SME Server 9 or 8, and the package to build, based on which directory that you are in. The results are put under that directory.
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu