]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
add compile phase to testimage and force overwrite
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 10:07:52 +0000 (11:07 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 10:31:27 +0000 (11:31 +0100)
Makefile

index d01eaba2a89280e856aec009cf1d5db9022bec82..a2544ae3a94c98369e3326ec8653850bb0d2b80f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,5 +28,5 @@ 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 
 
-testimage:
-       ./dracut -l test.img $(uname -r)
+testimage: all
+       ./dracut -l -f test.img $(uname -r)