summaryrefslogtreecommitdiff
path: root/usr/src/pkg/Makefile
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2013-12-22 20:56:32 +0400
committerRichard Lowe <richlowe@richlowe.net>2013-12-24 12:31:23 -0500
commit07b48dbef2d1395c82edeccaf10e42ea7c0b6b36 (patch)
treefb134d7103e57cf9cc5dcc849494abf139618575 /usr/src/pkg/Makefile
parentf05406318b2ae83404f8c9fa16f837202e6b8ed8 (diff)
downloadillumos-joyent-07b48dbef2d1395c82edeccaf10e42ea7c0b6b36.tar.gz
4413 repository-metadata target should use "pkgrepo refresh" instead of "pkg.depotd"
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Alexander Pyhalov <alp@rsu.ru> Reviewed by: Richard PALO <richard.palo@free.fr> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/pkg/Makefile')
-rw-r--r--usr/src/pkg/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/pkg/Makefile b/usr/src/pkg/Makefile
index 3514e03cb3..9d4eaada49 100644
--- a/usr/src/pkg/Makefile
+++ b/usr/src/pkg/Makefile
@@ -328,7 +328,7 @@ PKGLISTS= \
#
# repository metadata (catalogs and search indices)
# |
-# | pkg.depotd
+# | pkgrepo refresh
# |
# published packages
# | |
@@ -393,10 +393,8 @@ $(PDIR)/gendeps: $(DEP_SYNTH_PKGS) $(DEP_PKGS)
install: $(ALL_TARGETS) repository-metadata
repository-metadata: publish_pkgs
- @print "Creating repository metadata"
$(PKGDEBUG)for r in $(REPOS); do \
- /usr/lib/pkg.depotd -d $(PKGDEST)/repo.$$r \
- --add-content --exit-ready; \
+ pkgrepo refresh -s $(PKGDEST)/repo.$$r; \
done
#