Hi,
this series implements the first bits in v2v to convert Debian/Ubuntu
(and derived) guests. The series does not complete the support (see
known issues below), but all the patches here should be fit for review
and inclusion. The series does not enable the conversion, yet.
Known issues:
* there is no grubby nor Bootloader::Tools Perl module available in
Debian, so there is no way to know what is the default kernel;
parsing the Grub2 configuration is not exactly an easy task either
* currently tested with simple local guest images, hence needs testing
with real guests on libvirt/VMware/Xen/VirtualBox/etc (which have
various tools to be removed/tweaked)
* is tweaking the "enterprise-linux" module the correct/wanted way?
should it be renamed to just "linux" then?
* surely something else I'm missing
Changes from v1:
- rebased on master
- dropped patch #8, will be solved in a different way
- adapted patch #4 to the Linux_bootloaders module
Thanks,
Pino Toscano (7):
v2v: refactor Linux.remove
v2v: add basic support for the "deb" package manager
v2v: linux: identify Debian-based distros as `Debian_family
v2v: add /boot/grub/grub.cfg as Grub2 config
v2v: linux: check also kernel config for modules
v2v: linux: check the kernel package name for Debian
v2v: linux: adapt initrd name for Debian
v2v/convert_linux.ml | 34 ++++++++++++++++++++++----
v2v/linux.ml | 62 ++++++++++++++++++++++++++++++++++++++----------
v2v/linux_bootloaders.ml | 1 +
3 files changed, 79 insertions(+), 18 deletions(-)
--
2.7.4