[Ovirt-devel] [PATCH] make repos.ks temporary and ignorable

Alan Pevec apevec at redhat.com
Fri Jun 6 18:54:54 UTC 2008


Signed-off-by: Alan Pevec <apevec at redhat.com>
---
 ovirt-host-creator/.gitignore  |    1 +
 ovirt-host-creator/Makefile    |    3 +++
 ovirt-host-creator/repos.ks    |    3 ---
 ovirt-host-creator/repos.ks.in |    3 +++
 4 files changed, 7 insertions(+), 3 deletions(-)
 delete mode 100644 ovirt-host-creator/repos.ks
 create mode 100644 ovirt-host-creator/repos.ks.in

diff --git a/ovirt-host-creator/.gitignore b/ovirt-host-creator/.gitignore
index 5d68341..455b5f7 100644
--- a/ovirt-host-creator/.gitignore
+++ b/ovirt-host-creator/.gitignore
@@ -3,3 +3,4 @@ iso-file
 tftpboot
 rpm-build
 ovirt-pxe.log
+repos.ks
diff --git a/ovirt-host-creator/Makefile b/ovirt-host-creator/Makefile
index 38e5760..6c76144 100644
--- a/ovirt-host-creator/Makefile
+++ b/ovirt-host-creator/Makefile
@@ -32,6 +32,9 @@ setversion:
 clean:
 	-rm -rf ovirt-host-image-* ovirt-pxe.log
 
+repos.ks: repos.ks.in
+	cp repos.ks.in repos.ks
+
 build: ovirt-$(ARCH).ks common-install.ks common-pkgs.ks common-post.ks repos.ks
 	-rm -rf tftpboot/
 	./ovirt-pxe.sh > ovirt-pxe.log 2>&1
diff --git a/ovirt-host-creator/repos.ks b/ovirt-host-creator/repos.ks
deleted file mode 100644
index 6703b91..0000000
--- a/ovirt-host-creator/repos.ks
+++ /dev/null
@@ -1,3 +0,0 @@
-repo --name=f9 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
-repo --name=f9-updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch
-
diff --git a/ovirt-host-creator/repos.ks.in b/ovirt-host-creator/repos.ks.in
new file mode 100644
index 0000000..6703b91
--- /dev/null
+++ b/ovirt-host-creator/repos.ks.in
@@ -0,0 +1,3 @@
+repo --name=f9 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch
+repo --name=f9-updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=$basearch
+
-- 
1.5.4.1




More information about the ovirt-devel mailing list