#!/bin/bash
#
# Copyright (c) 2012, 2015 by Delphix. All rights reserved.
#

set -o nounset
set -o errexit

source "${CI_SH_LIB}/common.sh"

ONU="${PWD}/usr/src/tools/scripts/onu"
REPO="${PWD}/packages/i386/nightly"

log_must /usr/bin/pfexec /usr/bin/pkg \
    install -g "${REPO}/repo.redist" pkg:/package/pkg

log_must /usr/bin/pfexec "${ONU}" -t "openzfs-nightly" -d "${REPO}"

exit 0

#!/bin/bash
#
# Copyright (c) 2012, 2015 by Delphix. All rights reserved.
#

set -o nounset
set -o errexit

source "${CI_SH_LIB}/common.sh"

ONU="${PWD}/usr/src/tools/scripts/onu"
REPO="${PWD}/packages/i386/nightly"

log_must /usr/bin/pfexec "${ONU}" -t "openzfs-nightly" -d "${REPO}"

exit 0

Upgrade of "pkg:/package/pkg" is unnecessary
Upgrade of "pkg:/package/pkg" is unnecessary
