Changeset 8da8a81


Ignore:
Timestamp:
04/09/13 13:58:01 (19 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.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
Location:
src-sh/warden
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/LICENSE

    r0988d23 r8da8a81  
    1 Copyright 2012 PC-BSD / iXsystems. All rights reserved. 
     1Copyright 2013 PC-BSD / iXsystems. All rights reserved. 
    22 
    33Redistribution and use in source and binary forms, with or without modification, are permitted provided  
  • src-sh/warden/bin/warden

    r0988d23 r8da8a81  
    33# Author: Kris Moore 
    44# License: BSD 
    5 # "The Warden" Copyright 2008 PC-BSD Software (iXsystems) 
     5# "The Warden" Copyright 2013 PC-BSD Software (iXsystems) 
    66###################################################################### 
    77 
     
    773773         if [ -z "${JAILNAME}" ]; then exit_err "No jail specified!"; fi 
    774774         if [ ! -e "${JDIR}/${JAILNAME}" ]; then exit_err "No such jail!"; fi 
    775          bootstrap_pkgng "${JDIR}/JAILNAMEIP" 
     775         bootstrap_pkgng "${JDIR}/${JAILNAME}" 
    776776         ;; 
    777777 
  • 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 
  • src-sh/warden/scripts/backend/listpbis.sh

    • Property mode changed from 100644 to 100755
Note: See TracChangeset for help on using the changeset viewer.