Changeset 01aa046


Ignore:
Timestamp:
12/18/13 09:09:42 (12 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
90cf9b1
Parents:
e9dc989
Message:

Add the beginnings of a PRODUCTION / EDGE set of package branches
we can switch between for users wanting stability or bleeding edge updates

Location:
src-sh/pc-extractoverlay
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-extractoverlay/desktop-overlay/usr/local/etc/pcbsd.conf

    r1620346 r01aa046  
    11# PC-BSD Configuration Defaults 
    22 
    3 # Default PC-BSD Mirror for System Updates / Meta-Pkgs 
    4 PCBSD_MIRROR:  
     3# Default package set to pull updates from 
     4# PRODUCTION - Updated quarterly 
     5# EDGE - Updated bi-weekly - For testers / developers 
     6PACKAGE_SET: PRODUCTION 
    57 
    68# The current meta package set 
     9# pcbsd - Desktop set of meta-packages 
     10# trueos - Server set of meta-packages 
    711PCBSD_METAPKGSET: pcbsd 
  • src-sh/pc-extractoverlay/pc-extractoverlay

    rf520161 r01aa046  
    11#!/bin/sh 
     2 
     3PCBSD_ETCCONF="/usr/local/etc/pcbsd.conf" 
     4 
     5# Get the PACKAGE_SET to use for this pkgng repo 
     6PACKAGE_SET="PRODUCTION" 
     7_pkgChk="`sed -n 's/PACKAGE_SET: //p' ${PCBSD_ETCCONF} 2>/dev/null | awk '{print $1}'`" 
     8if [ -n "${_pkgChk}" ] ; then PACKAGE_SET="$_pkgChk" ; fi 
     9 
     10# Check the PACKAGE_SET variable 
     11case $PACKAGE_SET in 
     12   PRODUCTION|EDGE) ;; 
     13       *) echo "Warning: Invalid PACKAGE_SET!"  
     14          PACKAGE_SET="PRODUCTION" ;;  
     15esac 
    216 
    317do_prune() 
     
    119133    ARCH=`uname -m` 
    120134    FBSDVER=`uname -r | cut -d '-' -f 1-2` 
     135 
     136    # If using the EDGE package set, set the right path 
     137    case $PACKAGE_SET in 
     138         EDGE) FBSDVER="$FBSDVER/edge";; 
     139            *) ;; 
     140    esac 
     141 
    121142    sed -i '' "s|VERSION|$FBSDVER|g" /usr/local/etc/pkg/repos/pcbsd.conf 
    122143    if [ $? -ne 0 ] ; then 
  • src-sh/pc-extractoverlay/server-overlay/usr/local/etc/pcbsd.conf

    r1620346 r01aa046  
    11# PC-BSD Configuration Defaults 
    22 
    3 # Default PC-BSD Mirror for System Updates / Meta-Pkgs 
    4 PCBSD_MIRROR:  
     3# Default package set to pull updates from 
     4# PRODUCTION - Updated quarterly 
     5# EDGE - Updated bi-weekly - For testers / developers 
     6PACKAGE_SET: PRODUCTION 
    57 
    68# The current meta package set 
    7 PCBSD_METAPKGSET: warden 
     9# pcbsd - Desktop set of meta-packages 
     10# trueos - Server set of meta-packages 
     11PCBSD_METAPKGSET: trueos 
Note: See TracChangeset for help on using the changeset viewer.