[iso] Moved rpms into repository root from root/Packages

This commit is contained in:
Vladimir Kozhukalov 2012-07-10 15:27:57 +04:00
parent 0bef989ad4
commit 09e85c2436

View File

@ -296,11 +296,11 @@ $/isoroot-pool.done: $/apt-cache.done
$(ACTION.TOUCH)
$/isoroot-rpm.done: $/rpm-cache.done $/rpm-groups.done
mkdir -p $(ISOROOT)/centos/$(CENTOSRELEASE)/Packages
mkdir -p $(ISOROOT)/centos/$(CENTOSRELEASE)
find $/rpm/Packages -name '*.rpm' | while read rpmfile; do \
cp -n $${rpmfile} $(ISOROOT)/centos/$(CENTOSRELEASE)/Packages/ ; \
cp -n $${rpmfile} $(ISOROOT)/centos/$(CENTOSRELEASE)/ ; \
done
createrepo -g `readlink -f "$/rpm/comps.xml"` -o $(ISOROOT)/centos/$(CENTOSRELEASE) $(ISOROOT)/centos/$(CENTOSRELEASE)/Packages
createrepo -g `readlink -f "$/rpm/comps.xml"` -o $(ISOROOT)/centos/$(CENTOSRELEASE) $(ISOROOT)/centos/$(CENTOSRELEASE)
$(ACTION.TOUCH)
$/isoroot-keyring.done: $/isoroot-pool.done $/debian/ubuntu-keyring/.done