testimage target fixes

master
Harald Hoyer 2009-03-05 14:20:05 +01:00
parent 7f5112e3d6
commit 8ac8d68a0e
1 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ install:
clean:
rm -f *~
rm -f modules.d/99base/switch_root
rm -f test-*.img

archive: dracut-$(VERSION)-$(GITVERSION).tar.bz2

@ -30,4 +31,5 @@ rpm: dracut-$(VERSION)-$(GITVERSION).tar.bz2
rm -fr BUILD BUILDROOT

testimage: all
./dracut -l -f test.img $(uname -r)
./dracut -l -f test-$(shell uname -r).img $(shell uname -r)
@echo wrote test-$(shell uname -r).img