Changes

From SME Server
Jump to navigationJump to search
m
Reverted edits by Unnilennium (talk) to last revision by Slords
Line 108: Line 108:     
  # If there is no sme9 directory do  
 
  # If there is no sme9 directory do  
  cd ~/smeserver/rpms/
+
  $ cd ~rpms/module_name
rm -rf ~/smeserver/rpms/smeserver-package
+
  $ ln -s sme8 devel
cvs co smeserver-package
+
  $ cd devel
cd smeserver-package
+
  $ make mockbuild
#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
  −
# the following only if you want to import in the CVS this ( for a test purpose you should not do the next line)
  −
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
+
  BUILDARCH=i386 make mockbuild
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.
board
414

edits

Navigation menu