Tips for OCaml section added.
[virt-p2v.git] / p2v.ks.in
index bf6ea39..b69c185 100644 (file)
--- a/p2v.ks.in
+++ b/p2v.ks.in
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-lang @LANG@
-keyboard @KEYBOARD@
-timezone @TIMEZONE@
+lang @CD_LANG@
+keyboard @CD_KEYBOARD@
+timezone @CD_TIMEZONE@
 auth --useshadow --enablemd5
 selinux --enforcing
 firewall --disabled
 
-repo --name=released --baseurl=@BASEURL@
-#repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-@BASE@&arch=@ARCH@
+repo --name=released --baseurl=@CD_BASE_URL@
+#repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-@CD_BASE@&arch=@CD_ARCH@
 
 %packages
 bash
@@ -93,6 +93,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 +121,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