git.annexia.org
/
virt-p2v.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added --enable-localrepo to allow users to specify a local repository.
[virt-p2v.git]
/
p2v.ks.in
diff --git
a/p2v.ks.in
b/p2v.ks.in
index
4415690
..
c62d4e8
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@
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
%packages
bash
@@
-53,12
+54,15
@@
openssh-clients
nc
# For the shell script
nc
# For the shell script
-dialog
grep
sed
gawk
findutils
grep
sed
gawk
findutils
+# For IP configuration
+iproute
+net-tools
+
# For OCaml
ocaml
ocaml-runtime
# For OCaml
ocaml
ocaml-runtime
@@
-66,6
+70,7
@@
ocaml-pcre
ocaml-extlib
ocaml-xml-light
ocaml-libvirt
ocaml-extlib
ocaml-xml-light
ocaml-libvirt
+ocaml-newt
# For network configuration
dhclient
# For network configuration
dhclient
@@
-93,6
+98,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 "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
if ! test -f "@abs_top_srcdir@/virt-p2v"; then ERROR=1; fi
if test "x$ERROR" = "x1"; then
@@
-120,6
+126,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
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
%end
%post
@@
-149,4
+158,9
@@
touch /media/.hal-mtab
# Make some mountpoints.
mkdir /mnt/root
# 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
%end