X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=p2v.ks.in;h=36a72f15ba947509b3d99ec344860847e3a6090d;hb=aede66625e44d330c12bd123a3cca3e9a3c04247;hp=c62d4e8338e165e7f4983bbcf532d82e649b5e9f;hpb=56cb3cbf0f571df50f8b80efe651c24da81f07d2;p=virt-p2v.git diff --git a/p2v.ks.in b/p2v.ks.in index c62d4e8..36a72f1 100644 --- a/p2v.ks.in +++ b/p2v.ks.in @@ -25,11 +25,17 @@ auth --useshadow --enablemd5 selinux --enforcing firewall --disabled +# Basic Fedora repo. repo --name=released --baseurl=@CD_BASE_URL@ #repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-@CD_BASE@&arch=@CD_ARCH@ + +# A local repository if selected by ./configure --enable-localrepo=... @LOCALREPO@ -%packages +# The p2vrepo subdirectory, containing virt-p2v RPM. +repo --name=p2v --baseurl=file://@abs_top_builddir@/p2vrepo + +%packages --excludedocs bash kernel syslinux @@ -39,6 +45,9 @@ chkconfig authconfig rootfiles +# For unicode console support. +kbd + # dd, sleep, sync, etc. coreutils @@ -63,15 +72,6 @@ findutils iproute net-tools -# For OCaml -ocaml -ocaml-runtime -ocaml-pcre -ocaml-extlib -ocaml-xml-light -ocaml-libvirt -ocaml-newt - # For network configuration dhclient @@ -86,6 +86,18 @@ vim-enhanced bind-utils file +# virt-p2v package and its deps +ocaml +ocaml-findlib +ocaml-pcre +ocaml-extlib +ocaml-xml-light +ocaml-libvirt +ocaml-newt +ocaml-fileutils +ocaml-gettext +virt-p2v + %post --nochroot @@ -99,7 +111,6 @@ 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 echo "**************************************************" @@ -113,15 +124,6 @@ if test "x$ERROR" = "x1"; then exit 1 fi -install -m 0755 -o root -g root \ - @abs_top_srcdir@/virt-p2v \ - @abs_top_srcdir@/virt-p2v-update-wrapper \ - @abs_top_srcdir@/iso-attach \ - $INSTALL_ROOT/usr/bin - -install -m 0644 -o root -g root @abs_top_srcdir@/inittab \ - $INSTALL_ROOT/etc - 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 @@ -160,7 +162,7 @@ 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 +#rm -rf /usr/share/doc ;# 44 MB +#rm -rf /usr/share/locale ;# 60 MB %end