Changeset 1053 for locker/doc


Ignore:
Timestamp:
Apr 3, 2009, 5:21:22 AM (13 years ago)
Author:
quentin
Message:
Document how to apply patches before generating an update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • locker/doc/autoinstallers

    r1050 r1053  
    4444/mit/scripts/sbin/propose-update --dev $PKG $OLDVERS $NEWVERS
    4545cd $PKG-$OLDVERS-to-$NEWVERS.proposal
     46# If there is any custom setup that needs to be performed
     47# (e.g. something in /mit/scripts/deploy/bin), do so to the
     48# $PKG-$OLDVERS and $PKG-$NEWVERS directories, then do
     49(cd .. && /mit/scripts/sbin/propose-update --redo-all --dev $PKG $OLDVERS $NEWVERS)
    4650# Look at the files that were generated to make sure they're sane
    47 # If necessary, add pre- and post- hooks
     51# If necessary, add pre- and post- hooks, such as for a DB update script
    4852emacs extra/prepatch.sh
    4953emacs extra/postpatch.sh
    5054# Generate the patch
     55cd ..
    5156# --dev here means to put the update in /mit/scripts/deploydev/updates
    5257/mit/scripts/sbin/build-update --dev $PKG $OLDVERS $NEWVERS
Note: See TracChangeset for help on using the changeset viewer.