create test/initramfs.testing from Makefile target

This commit is contained in:
Harald Hoyer 2009-05-25 12:11:27 +02:00
parent 2e7b8713b4
commit ce743a71cc

View File

@ -34,9 +34,12 @@ rpm: dracut-$(VERSION)-$(GITVERSION).tar.bz2
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
test: test/root.ext2 all
test: test/root.ext2 test/initramfs.testing all
sudo APPEND="$(APPEND)" DRACUTOPTS="$(DRACUTOPTS)" test/test-initramfs
test/initramfs.testing:
sudo ./dracut $(DRACUTOPTS) -c test/dracut.conf.test -l -f test/initramfs.testing
test/root.ext2: test/test-init test/make-test-root
sudo test/make-test-root