[Ovirt-devel] [PATCH release] Specify package format on get-ovirt-appliance command
Perry Myers
pmyers at redhat.com
Wed Nov 19 23:32:32 UTC 2008
User can specify environment variable
PKG_FMT to be either tar, tar.gz or tar.bz2
Also, DISK_FMT can be used to specify format for disk images
to be either qcow2 or raw
Signed-off-by: Perry Myers <pmyers at redhat.com>
---
ovirt.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ovirt.mk b/ovirt.mk
index a516e04..5c6c396 100644
--- a/ovirt.mk
+++ b/ovirt.mk
@@ -9,6 +9,8 @@ OVIRT_BRANCH ?= next
OVIRT_URL ?= http://ovirt.org/repos/ovirt
THINCRUST_URL ?= http://www.thincrust.net/repo
FEDORA_MIRROR ?= http://mirrors.fedoraproject.org/mirrorlist
+PKG_FMT ?= tar.bz2
+DISK_FMT ?= qcow2
SUBDIRS ?= release server node node-image recipe docs appliance
@@ -86,8 +88,8 @@ update-host:
ovirt-node-selinux ovirt-node-image
update-app: update-host
- sudo get-ovirt-appliance -l appliance
- sudo create-ovirt-appliance
+ sudo get-ovirt-appliance -l appliance -p $(PKG_FMT) -f $(DISK_FMT)
+ sudo create-ovirt-appliance -f $(DISK_FMT)
tar-src:
@mkdir -p $(OVIRT_CACHE_DIR)
--
1.6.0.3
More information about the ovirt-devel
mailing list