source: build-files/freebsd-update/patches/9.1-RELEASE/7-FBSD.patch @ 635dc54

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 635dc54 was 635dc54, checked in by Kris Moore <kris@…>, 13 months ago

Add our freebsd-update code to GIT

This will become a dumping ground for mods we may make to the freebsd-update
build process, as well as the specific patches we have going into a release

  • Property mode set to 100644
File size: 1.0 KB
  • usr.sbin/freebsd-update/freebsd-update.sh

    diff --git usr.sbin/freebsd-update/freebsd-update.sh usr.sbin/freebsd-update/freebsd-update.sh
    index ae8a513..1d6565e 100644
    CONFIGOPTIONS="KEYPRINT WORKDIR SERVERNAME MAILTO ALLOWADD ALLOWDELETE 
    9191    BASEDIR VERBOSELEVEL TARGETRELEASE STRICTCOMPONENTS MERGECHANGES 
    9292    IDSIGNOREPATHS BACKUPKERNEL BACKUPKERNELDIR BACKUPKERNELSYMBOLFILES" 
    9393 
     94# Set to force updates on specific files that we don't want changed 
     95FORCEUPDATES="/etc/rc.conf.pcbsd /etc/rc /boot/loader.conf.pcbsd" 
     96 
    9497# Set all the configuration options to "". 
    9598nullconfig () { 
    9699        for X in ${CONFIGOPTIONS}; do 
    fetch_filter_unmodified_notpresent () { 
    15761579            cut -f 1,2,7 -d '|' | 
    15771580            fgrep '|-|' >> mlines 
    15781581 
     1582        # If we have items to force updates on, remove from mlines 
     1583        for fUp in $FORCEUPDATES 
     1584        do 
     1585                grep -v "^${fUp}|f|" mlines > mlines.tmp 
     1586                mv mlines.tmp mlines 
     1587        done 
     1588 
    15791589        # Remove lines from $1, $2, and $3 
    15801590        for X in $1 $2 $3; do 
    15811591                sort -t '|' -k 1,1 ${X} > ${X}.tmp 
Note: See TracBrowser for help on using the repository browser.