1 # FEDORA_URL env var can be set to the root of a fedora mirror
2 # OVIRT_URL env var can be set to the root of an ovirt.org mirror
3 pkg_name
= ovirt-node-image
9 RPM_FLAGS
+= --define "fedora_url $(FEDORA_URL)"
13 RPM_FLAGS
+= --define "ovirt_url $(OVIRT_URL)"
20 rm -rf repos.ks rpm-build
22 tar: clean $(pkg_name
).ks common-install.ks common-pkgs.ks common-post.ks repos.ks.in
24 cp
-a common-install.ks common-pkgs.ks common-post.ks COPYING Makefile \
25 ovirt-flash ovirt-flash-static
$(pkg_name
).spec
$(pkg_name
).ks \
26 ovirt-pxe README.krb5 release.mk repos.ks.in
$(NV
)
28 tar zcvf rpm-build
/$(NV
).
tar $(NV
)
32 .PHONY
: all clean tar distclean