Dan Kenigsberg
2008-Oct-30 21:30 UTC
[Ovirt-devel] [PATCH appliance] allow for on-filesystem FEDORA_URL
--- gettree.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/gettree.sh b/gettree.sh index 42f1d29..67f6cf9 100755 --- a/gettree.sh +++ b/gettree.sh @@ -7,7 +7,10 @@ download() { local f=$1 - wget --progress=dot:mega --continue $1 + case "$f" in + file://*) cp ${f#file://} . ;; + *) wget --progress=dot:mega --continue $f ;; + esac printf "." } -- 1.5.6.5
--- ovirt-appliance.spec.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ovirt-appliance.spec.in b/ovirt-appliance.spec.in index f42982d..fdf942f 100644 --- a/ovirt-appliance.spec.in +++ b/ovirt-appliance.spec.in @@ -16,7 +16,7 @@ License: GPLv2+ Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot URL: http://ovirt.org/ -BuildRequires: appliance-tools +BuildRequires: appliance-tools appliance-os BuildRequires: livecd-tools >= 017 BuildRequires: syslinux BuildRequires: qemu-img -- 1.5.6.5