summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-03-05 11:28:09 +0100
committerHarald Hoyer <harald@redhat.com>2009-03-05 11:31:30 +0100
commit0680bbaf01be5e880f03d84b6a8e54ac89652ae8 (patch)
tree83e57f613953a841a7aed10ea95c6f3152b1ae20 /Makefile
parent2f525c49059f2fb6ef8fd17204defd1e940b4ee0 (diff)
fixed rpm building on Fedora 11
"Only dest dir longer than base dir not supported"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a2544ae..f953fad 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,8 @@ dracut-$(VERSION)-$(GITVERSION).tar.bz2:
git archive --format=tar HEAD --prefix=dracut-$(VERSION)-$(GITVERSION)/ |bzip2 > dracut-$(VERSION)-$(GITVERSION).tar.bz2
rpm: dracut-$(VERSION)-$(GITVERSION).tar.bz2
- rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" --define "_specdir $$PWD" --define "_builddir $$PWD" --define "_srcrpmdir $$PWD" --define "_rpmdir $$PWD" --define "gittag $(GITVERSION)" -ba dracut.spec
+ rpmbuild --define "_topdir $$PWD" --define "_sourcedir $$PWD" --define "_specdir $$PWD" --define "_srcrpmdir $$PWD" --define "_rpmdir $$PWD" --define "gittag $(GITVERSION)" -ba dracut.spec
+ rm -fr BUILD BUILDROOT
testimage: all
./dracut -l -f test.img $(uname -r)