add testimage target
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 09:33:18 +0000 (10:33 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 09:33:18 +0000 (10:33 +0100)
Makefile

index d7f0e44..255b2b0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,3 +23,6 @@ archive:
 
 rpm:
        rpmbuild --define "_sourcedir $$PWD" --define "_specdir $$PWD" --define "_builddir $$PWD" --define "_srcrpmdir $$PWD" --define "_rpmdir $$PWD" -ba dracut.spec 
+
+testimage:
+       ./dracut -l test.img $(uname -r)