Attach newer virt-p2v scripts to pre-built ISOs (used by 'make update').
+extras/
+
+ Anything under here is copied onto the ISO squashfs. In particular
+ this contains paravirt drivers for Red Hat Enterprise Linux,
+ CentOS and friends.
+
General implementation plan
----------------------------------------------------------------------
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
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