mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
v2v: Remove bogus %systemroot%\Drivers path.
This was based an incorrect translation of what the old virt-v2v was doing. %systemroot%\Drivers is not expected to exist already, and indeed does not exist in a real Windows 7 guest.
This commit is contained in:
@@ -56,7 +56,6 @@ mkfs ntfs /dev/sda2
|
||||
|
||||
# Enough to fool inspection API.
|
||||
mount /dev/sda2 /
|
||||
mkdir-p /Windows/Drivers
|
||||
mkdir-p /Windows/System32/Config
|
||||
|
||||
upload $SRCDIR/guest-aux/windows-software /Windows/System32/Config/SOFTWARE
|
||||
|
||||
@@ -215,7 +215,6 @@ echo uninstalling Xen PV driver
|
||||
and install_virtio_drivers root current_cs =
|
||||
(* Copy the virtio drivers to the guest. *)
|
||||
let driverdir = sprintf "%s/Drivers/VirtIO" systemroot in
|
||||
let driverdir = g#case_sensitive_path driverdir in
|
||||
g#mkdir_p driverdir;
|
||||
|
||||
(* See if the drivers for this guest are available in virtio_win_dir. *)
|
||||
|
||||
Reference in New Issue
Block a user