[Lsb-messages] /var/www/bzr/lsb/devel/repogen r193: Never install directly from the staging area into a yum repository.

Jeff Licquia licquia at linuxfoundation.org
Mon Mar 4 22:37:00 UTC 2013


------------------------------------------------------------
revno: 193
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: repogen
timestamp: Mon 2013-03-04 14:37:00 -0800
message:
  Never install directly from the staging area into a yum repository.
modified:
  rpm/Makefile
-------------- next part --------------
=== modified file 'rpm/Makefile'
--- a/rpm/Makefile	2012-09-11 16:57:04 +0000
+++ b/rpm/Makefile	2013-03-04 22:37:00 +0000
@@ -27,10 +27,10 @@
 	mkdir -p $@
 	cp comps-lsb.xml $@
 	for pkg in $(PKGLIST_COMMON); do \
-	    find $(FTP_ROOT)/$(FTP_LSB_PATH) -name $$pkg\*rpm -print | grep $(COMMON_PATH) | egrep '($(RPMARCH)|noarch).rpm' | egrep -v '(repositories|archive)' | (while read f; do ln -sf $$f $@ || true; done) ; \
+	    find $(FTP_ROOT)/$(FTP_LSB_PATH) -name $$pkg\*rpm -print | grep $(COMMON_PATH) | egrep '($(RPMARCH)|noarch).rpm' | fgrep -v 'staging' | egrep -v '(repositories|archive)' | (while read f; do ln -sf $$f $@ || true; done) ; \
 	done
 	for pkg in $(PKGLIST_VERSION); do \
-	    find $(FTP_ROOT)/$(FTP_LSB_PATH) -name $$pkg\*rpm -print | grep $(VERSION_PATH) | egrep '($(RPMARCH)|noarch).rpm' | egrep -v '(repositories|archive)' | (while read f; do ln -sf $$f $@ || true; done) ; \
+	    find $(FTP_ROOT)/$(FTP_LSB_PATH) -name $$pkg\*rpm -print | grep $(VERSION_PATH) | egrep '($(RPMARCH)|noarch).rpm' | fgrep -v 'staging' | egrep -v '(repositories|archive)' | (while read f; do ln -sf $$f $@ || true; done) ; \
 	done
 	cd $@ && createrepo -g comps-lsb.xml --quiet . 
 	rm $@/comps-lsb.xml



More information about the lsb-messages mailing list