Makefile: automaically copy rpms to _all_ vm repos

This commit is contained in:
Joanna Rutkowska 2011-06-24 15:48:08 +02:00
parent fef3ab7aff
commit 4043e5cd3f

View File

@ -91,36 +91,31 @@ update-repo-current:
ln -f rpm/x86_64/kernel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/dom0/rpm/ ln -f rpm/x86_64/kernel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/dom0/rpm/
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/dom0/rpm/ ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/dom0/rpm/
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/dom0/rpm/ ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/dom0/rpm/
ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/vm/f13/rpm/ for vmrepo in ../yum/current-release/current/vm/* ; do \
ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/vm/f14/rpm/ ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/vm/f13/rpm/ ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/vm/f14/rpm/ ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/vm/f13/rpm/ done
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current/vm/f14/rpm/
update-repo-current-testing: update-repo-current-testing:
ln -f rpm/x86_64/kernel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/dom0/rpm/ ln -f rpm/x86_64/kernel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/dom0/rpm/
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/dom0/rpm/ ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/dom0/rpm/
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/dom0/rpm/ ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/dom0/rpm/
ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/vm/f13/rpm/ for vmrepo in ../yum/current-release/current-testing/vm/* ; do \
ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/vm/f14/rpm/ ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/vm/f13/rpm/ ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/vm/f14/rpm/ ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/vm/f13/rpm/ done
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/current-testing/vm/f14/rpm/
update-repo-unstable: update-repo-unstable:
ln -f rpm/x86_64/kernel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/dom0/rpm/ ln -f rpm/x86_64/kernel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/dom0/rpm/
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/dom0/rpm/ ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/dom0/rpm/
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/dom0/rpm/ ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/dom0/rpm/
ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/vm/f13/rpm/ for vmrepo in ../yum/current-release/unstable/vm/* ; do \
ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/vm/f14/rpm/ ln -f rpm/x86_64/kernel-domU-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/vm/f13/rpm/ ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-debuginfo-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/vm/f14/rpm/ ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm $$vmrepo/rpm/ ;\
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/vm/f13/rpm/ done
ln -f rpm/x86_64/kernel-devel-$(VERSION)-$(RELEASE)*.rpm ../yum/current-release/unstable/vm/f14/rpm/
# mop up, printing out exactly what was mopped. # mop up, printing out exactly what was mopped.