Ignore:
Timestamp:
Apr 9, 2013 1:58:01 PM (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1
Children:
9ef2d77
Parents:
0988d23
Message:
  • Update Dates
  • Fix a bug boot-strapping PKGNG into jails
  • Add warning if we fail to copy PKGNG cert file
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/scripts/backend/functions.sh

    r0988d23 r8da8a81  
    702702  mkdir -p ${1}/usr/local/etc 
    703703  cp /usr/local/etc/pkg-pubkey.cert ${1}/usr/local/etc/ 
     704  if [ $? -ne 0 ] ; then 
     705     echo "Failed copying /usr/local/etc/pkg-pubkey.cert" 
     706  fi 
    704707 
    705708  echo '#!/bin/sh 
     
    709712  ARCH=$(uname -m) 
    710713  REL=$(uname -r) 
    711   echo "packagesite: http://getmirror.pcbsd.org/packages/$REL/$ARCH" >/usr/local/etc/pkg.conf 
    712   echo "HTTP_MIRROR: http" >>/usr/local/etc/pkg.conf 
     714  echo "packagesite: http://ftp.pcbsd.org/pub/mirror/packages/$REL/$ARCH" >/usr/local/etc/pkg.conf 
    713715  echo "PUBKEY: /usr/local/etc/pkg-pubkey.cert" >>/usr/local/etc/pkg.conf 
    714716  echo "PKG_CACHEDIR: /usr/local/tmp" >>/usr/local/etc/pkg.conf 
Note: See TracChangeset for help on using the changeset viewer.