https://issues.redhat.com/browse/RHEL-71522

Switch package removal from rpm/dep to yum/dnf/etc, to handle
the case when other packages depend on ex. open-vm-tools

Changes since RFC:
  + use cached `inspect` data -> fixes test suite
  + make failure non-fatal
  + ignore empty package list

This may still break some really old cases. Notable `unconfigure_xen`
has a comment referencing RHEL 3, which lacks yum AFAIK. Which would
cause Guest_packages.uninstall_command to error.

Maybe we don't care about RHEL-3?
Or turn the error into a warning and be done with it?

Cole Robinson (2):
  convert: Use yum/apt/... for package removals, not rpm/dpkg
  convert: make package removal failure non-fatal

 convert/convert_linux.ml | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

-- 
2.48.1
_______________________________________________
Libguestfs mailing list -- guestfs@lists.libguestfs.org
To unsubscribe send an email to guestfs-le...@lists.libguestfs.org

Reply via email to