Deps problems Part 1

Description:

Hey, there's currently quite a few problems with the pkg deps here:

  • upstream replaced jansson with json-c
  • --with-extra-packages="qemu" makes no sense at all. It means qemu is present inside the VM appliance. It appears to be a hangover from the old days before we had a properly split qemu pkg and qemu-img was needed inside the VM appliance for the now defunct virt-dib
  • following on from above, both multipath-tools (for kpartx) and debootstrap are no longer applicable inside the VM appliance. They should be removed from _appliance_deps
  • the support for grub is actually for Grub 1 ! There is literally no point including this. FWIW, Fedora do not include it. Previous issue: FS#73123 (Note: I was kinda wrong there.. more details when Part2 arrives...)

Additional info:

  • package version(s): libguestfs-1.56.0-1 (currently in [extra-testing])

Steps to reproduce:

  1. run $ guestfish -a /dev/null run to instantiate the VM appliance
  2. check space used with $ ls -lsh /var/tmp/.guestfs-1000/appliance.d and notice that the space consumed for the rootfs is 1.1G
  3. rebuild with removed/adjusted deps as per above
  4. repeat steps 1. and 2.
  5. space used is now 863M

I will submit a Merge Request ASAP.

PS: There are even more "interesting" observations coming up in Part 2, stay tuned...

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information