Changeset a3d8948


Ignore:
Timestamp:
12/09/13 12:44:15 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
cd20ca3, 4f9718b
Parents:
07d3e2a
Message:

Add the new PKGNG 1.2.x repo configuration

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

Legend:

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

    r202d787 ra3d8948  
    1 packagesite: pkg+http://pkg.cdn.pcbsd.org/VERSION/ARCH 
    2 PUBKEY: /usr/local/etc/pkg-pubkey.cert 
    31PKG_CACHEDIR: /usr/local/tmp 
     2repos_dir: [ 
     3                "/usr/local/etc/pkg/repos" 
     4           ] 
  • src-sh/pc-extractoverlay/pc-extractoverlay

    ree8502c ra3d8948  
    106106  fi 
    107107 
    108   # See if we need to adjust pkg.conf 
    109   grep -q "ARCH" /usr/local/etc/pkg.conf 2>/dev/null 
     108  # See if we need to adjust pcbsd.conf repo file 
     109  grep -q "ARCH" /usr/local/etc/pkg/repos/pcbsd.conf 2>/dev/null 
    110110  if [ $? -eq 0 ] ; then 
    111111    ARCH=`uname -m` 
    112112    FBSDVER=`uname -r | cut -d '-' -f 1-2` 
    113     sed -i '' "s|VERSION|$FBSDVER|g" /usr/local/etc/pkg.conf 
     113    sed -i '' "s|VERSION|$FBSDVER|g" /usr/local/etc/pkg/repos/pcbsd.conf 
    114114    if [ $? -ne 0 ] ; then 
    115        echo "WARNING: Failed setting VERSION in pkg.conf" 
     115       echo "WARNING: Failed setting VERSION in pcbsd.conf" 
    116116       status="1" 
    117117    fi 
    118     sed -i '' "s|ARCH|$ARCH|g" /usr/local/etc/pkg.conf 
     118    sed -i '' "s|ARCH|$ARCH|g" /usr/local/etc/pkg/repos/pcbsd.conf 
    119119    if [ $? -ne 0 ] ; then 
    120        echo "WARNING: Failed setting ARCH in pkg.conf" 
     120       echo "WARNING: Failed setting ARCH in pcbsd.conf" 
    121121       status="1" 
    122122    fi 
  • src-sh/pc-extractoverlay/server-overlay/usr/local/etc/pkg.conf

    r202d787 ra3d8948  
    1 packagesite: pkg+http://pkg.cdn.pcbsd.org/VERSION/ARCH 
    2 PUBKEY: /usr/local/etc/pkg-pubkey.cert 
    31PKG_CACHEDIR: /usr/local/tmp 
     2repos_dir: [ 
     3                "/usr/local/etc/pkg/repos" 
     4           ] 
Note: See TracChangeset for help on using the changeset viewer.