mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-09-08 06:31:50 +00:00
When reporting bundles for swupd search include their included bundles' contentsizes as well for more accurate size reporting. For bundles that are not installed on the client system, this skips any installed includes and only reports contentsize for uninstalled includes. For bundles that are installed on the system calculate the entire contentsize for all includes and report this as the "installed size" of the bundle. When the scope is 'o' (one hit only) do not print size information. Since only the first hit was taken it is unlikely that contentsize was calculated for all that bundle's includes. Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>