Changes

From SME Server
Jump to navigationJump to search
171 bytes added ,  11:35, 9 April 2021
no edit summary
Line 1: Line 1: −
Placeholder for Brian's page on the Update event for Contribs.
  −
   
===Background===
 
===Background===
   Line 69: Line 67:  
  %patch6 -p1
 
  %patch6 -p1
 
  mkdir -p root/etc/e-smith/events/smeserver-qmHandle-update
 
  mkdir -p root/etc/e-smith/events/smeserver-qmHandle-update
   
  %build
 
  %build
   −
The other lalternatives are to add the directories and contents in the data tree for the rpm.
+
The other alternative is to add the directories and contents in the data tree for the rpm.  This is not recommended in case the structure changes.
    
===Creating the -update event at the command line===
 
===Creating the -update event at the command line===
   −
Scripts to create the -update event and associated updtes to the spec file are shown here incase the prove useful:
+
Scripts to create the -update event and associated updates to the spec file are shown here in-case they prove useful:
    
====Update the changelog in the spec file====
 
====Update the changelog in the spec file====
Line 160: Line 157:  
  ls -l $1-$2.patch
 
  ls -l $1-$2.patch
 
  [brianr@smebuild ~]$
 
  [brianr@smebuild ~]$
 +
 +
Note that not all of these work everytime, due to variations in the naming of sub directories etc, the calls to vim allow the user to eyeball and edit the results of the scripts.

Navigation menu