X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=p2v.ks.in;h=a590d7067e63de45fc6defaef10a9dd9a592cbe7;hb=58d00e9c5eb4727f4700422e1ca8dc6f44161164;hp=44156905ed10b84270736f979bfd1123f6016d2a;hpb=67e7961ca21aa09bcb966b1d62be68a686c87d8a;p=virt-p2v.git diff --git a/p2v.ks.in b/p2v.ks.in index 4415690..a590d70 100644 --- 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 @@ -93,6 +102,7 @@ file if test "x$INSTALL_ROOT" = "x"; then ERROR=1; fi if ! test -d "$INSTALL_ROOT/usr/bin"; then ERROR=1; fi if ! test -d "@abs_top_srcdir@"; then ERROR=1; fi +if ! test -d "@abs_top_srcdir@/extras"; then ERROR=1; fi if ! test -f "@abs_top_srcdir@/virt-p2v"; then ERROR=1; fi if test "x$ERROR" = "x1"; then @@ -120,6 +130,9 @@ cp -a $INSTALL_ROOT/etc/lvm $INSTALL_ROOT/etc/lvm.new install -m 0644 -o root -g root @abs_top_srcdir@/lvm.conf \ $INSTALL_ROOT/etc/lvm.new +# Copy everything under extras to the squashfs /extras. +cp -a @abs_top_srcdir@/extras $INSTALL_ROOT/extras + %end %post @@ -149,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