Rebase to Fedora 10.
Version 0.9.9.
po/POTFILES
po/pt_BR.po
po/virt-p2v.pot
++po/zh_CN.po
README
README.developers
TODO
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
dnl Process this file with autoconf to produce a configure script.
--AC_INIT(virt-p2v,0.9.8)
++AC_INIT(virt-p2v,0.9.9)
AC_PROG_INSTALL
[AS_HELP_STRING([--enable-cd-base],
[set base Fedora for CD @<:@default=8@:>@])],
[CD_BASE=$enableval],
-- [CD_BASE=9])
++ [CD_BASE=10])
AC_ARG_ENABLE([cd-base-url],
[AS_HELP_STRING([--enable-cd-base-url],
[set download URL for packages])],
install -m 0644 -o root -g root @abs_top_srcdir@/lvm.conf \
$INSTALL_ROOT/etc/lvm.new
++# Overwrite /etc/event.d/tty1 (normally from initscripts).
++install -m 0644 -o root -g root @abs_top_srcdir@/tty1 $INSTALL_ROOT/etc/event.d/
++
++# Also /etc/inittab (from initscripts).
++install -m 0644 -o root -g root @abs_top_srcdir@/inittab $INSTALL_ROOT/etc/
++
# Copy everything under extras to the squashfs /extras.
cp -a @abs_top_srcdir@/extras $INSTALL_ROOT/extras
(match config_root_filesystem with
| Part (dev, p) ->
let snapshot_dev = snapshot_name dev in
-- sh ("mount " ^ quote ("/dev/mapper/" ^ snapshot_dev) ^ " /mnt/root")
++ sh ("mount "
++ ^ quote ("/dev/mapper/" ^ snapshot_dev ^ p)
++ ^ " /mnt/root")
| (LV _) as lv ->
(* The LV will be backed by a snapshot device, so just mount
with Not_found -> assert false (* internal error *) in
let () =
-- printf (f_ "\nSending /dev/%s (%.3f GB) to remote machine\n\n%!")
++ printf (f_ "\nSending %s (%.3f GB) to remote machine\n\n%!")
(dev_of_block_device origin_dev)
((Int64.to_float size) /. (1024.*.1024.*.1024.)) in
mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale
install -m 0755 virt-p2v virt-p2v-update-wrapper iso-attach \
$RPM_BUILD_ROOT%{_bindir}
--install -m 0644 inittab $RPM_BUILD_ROOT%{_sysconfdir}
--install -m 0644 tty1 $RPM_BUILD_ROOT%{_sysconfdir}/event.d
make -C po install PODIR=$RPM_BUILD_ROOT%{_datadir}/locale
%files
%defattr(-,root,root,-)
%{_bindir}/*
--%{_sysconfdir}/inittab
--%{_sysconfdir}/event.d/tty1
%{_datadir}/locale/*