Lines Matching refs:pkg

56 f_sysrepo_fail=$(gettext "Unable to enable svc:/application/pkg/system-repository, please enable the service manually.")
57 f_zones_proxyd_fail=$(gettext "Unable to enable svc:/application/pkg/zones-proxyd, please enable the service manually.")
140 # Check for existence of pkg command.
141 if [[ ! -x $dir/usr/bin/pkg ]]; then
142 log "$f_sanity_detail" "usr/bin/pkg" "$dir"
660 info_out=$(LC_ALL=C ${PKG:-pkg} info pkg:/$pname 2>/dev/null)
684 # Handle pkg exit code. Exit 0 means Command succeeded, exit 4 means
706 /usr/sbin/svcadm enable -st svc:/application/pkg/system-repository
711 /usr/sbin/svcadm enable -st svc:/application/pkg/zones-proxyd
795 # contain a GZ or NGZ pkg(5) image.
800 # the pkg(5) image format and satisfying
810 # PKG If not set on entry, set to pkg
812 # PKG_CACHEROOT If not set on entry and a pkg(5) cache exists at
813 # /var/pkg/publisher, it is set to PKG_CACHEROOT and exported
815 # OPT_V If set, pkg(1) commands will be verbose.
829 PKG=${PKG:-pkg}
850 if [[ -f /var/pkg/pkg5.image && -d /var/pkg/publisher ]]; then
853 export PKG_CACHEROOT=/var/pkg/publisher
858 # pkg update-format doesn't allow a dry run or provide any other way to
895 # performed on the global zone image (and the pkg command will
934 # not utilize the pkg linked image framework.)
941 typeset ngz_entire_fmri=$(egrep '^pkg://[^]]*/entire@' $tmpfile1)
942 typeset ngz_entire_pkgver=${ngz_entire_fmri#pkg://*/}
947 '^pkg://[^]]*/consolidation/osnet/osnet-incorporation@' $tmpfile1)
948 typeset ngz_osnet_pkgver=${ngz_osnet_fmri#pkg://*/}
953 egrep '^pkg://.*/consolidation/.*/.*-incorporation@' "$tmpfile1"
992 a_push pkg_install_args --reject pkg:///entire
1003 pkg=${pub_pkg#pkg://*/}
1009 # of the pkg client don't allow you to specify
1010 # overlapping pkg patterns on the cli, so don't
1014 [[ -z "$gz_entire_pkgver" && $pkg == \
1028 [[ "$arch" != sparc && $pkg == \
1031 [[ "$arch" != i386 && $pkg == \
1036 a_push pkg_install_args pkg:///$pkg
1114 set -A pkg_sync_args -- sync-linked --no-pkg-updates
1133 a_push pkg_sync_args --reject pkg:///entire