7021891 repo created by build should be v4, not v3
authorDanek Duvall <danek.duvall@oracle.com>
Thu, 24 Feb 2011 13:54:55 -0800
changeset 105 da9e87a40aec
parent 104 df794b4aa5dc
child 106 15c2a44d66c6
7021891 repo created by build should be v4, not v3
components/Makefile
make-rules/shared-macros.mk
--- a/components/Makefile	Thu Feb 24 10:32:52 2011 -0800
+++ b/components/Makefile	Thu Feb 24 13:54:55 2011 -0800
@@ -74,8 +74,8 @@
 	$(MKDIR) [email protected]
 
 $(WS_REPO):
-	$(PKGSEND) -s $(PKG_REPO) create-repository \
-		--set-property publisher.prefix=$(PUBLISHER)
+	$(PKGREPO) create $(PKG_REPO)
+	$(PKGREPO) add-publisher -s $(PKG_REPO) $(PUBLISHER)
 
 $(WS_LINT_CACHE):	$(WS_LOGS)
 ifdef CANONICAL_REPO
--- a/make-rules/shared-macros.mk	Thu Feb 24 10:32:52 2011 -0800
+++ b/make-rules/shared-macros.mk	Thu Feb 24 13:54:55 2011 -0800
@@ -181,6 +181,7 @@
 GPATCH_BACKUP =	--backup --version-control=numbered
 GPATCH_FLAGS =	-p$(PATCH_LEVEL) $(GPATCH_BACKUP)
 
+PKGREPO =	/usr/bin/pkgrepo
 PKGSEND =	/usr/bin/pkgsend
 PKGLINT =	/usr/bin/pkglint