Require fixed ocaml-libvirt 0.4.1.1-1.
[virt-p2v.git] / p2v.ks.in
index c543f3d..a590d70 100644 (file)
--- a/p2v.ks.in
+++ b/p2v.ks.in
@@ -27,6 +27,7 @@ firewall --disabled
 
 repo --name=released --baseurl=@CD_BASE_URL@
 #repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-@CD_BASE@&arch=@CD_ARCH@
+@LOCALREPO@
 
 %packages
 bash
@@ -53,21 +54,29 @@ openssh-clients
 nc
 
 # For the shell script
-dialog
 grep
 sed
 gawk
 findutils
 
+# For IP configuration
+iproute
+net-tools
+
 # For OCaml
 ocaml
 ocaml-runtime
 ocaml-pcre
 ocaml-extlib
 ocaml-xml-light
+# REQUIRED: ocaml-libvirt >= 0.4.1.1
 ocaml-libvirt
+# REQUIRED: ocaml-newt >= 0.9
+ocaml-newt
 
 # For network configuration
+# dhclient >= 4.0.0 fixes the cwd-holds-filesystem-open problem.
+# REQUIRED: dhclient >= 4.0.0
 dhclient
 
 # Some other generally useful packages
@@ -81,9 +90,6 @@ vim-enhanced
 bind-utils
 file
 
-# For PXE boots we need tftp
-tftp
-
 
 %post --nochroot
 
@@ -156,4 +162,9 @@ touch /media/.hal-mtab
 # Make some mountpoints.
 mkdir /mnt/root
 
+# Remove some unused files.
+rm -rf /usr/share/man          ;# 20 MB
+rm -rf /usr/share/doc          ;# 44 MB
+rm -rf /usr/share/locale       ;# 60 MB
+
 %end