[Libguestfs] [PATCH 1/3] inspect: bump size limit for Mageia guests

Pino Toscano ptoscano at redhat.com
Wed Feb 6 14:26:44 UTC 2019


Newer versions of the logo in Cauldron are almost 3K, so bump the limit
to 10K for now.
---
 lib/inspect-icon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/inspect-icon.c b/lib/inspect-icon.c
index 0edd3d1b0..c56d45295 100644
--- a/lib/inspect-icon.c
+++ b/lib/inspect-icon.c
@@ -344,7 +344,7 @@ icon_ubuntu (guestfs_h *g, size_t *size_r)
 static char *
 icon_mageia (guestfs_h *g, size_t *size_r)
 {
-  return get_png (g, MAGEIA_ICON, size_r, 2048);
+  return get_png (g, MAGEIA_ICON, size_r, 10240);
 }
 
 #define OPENSUSE_ICON "/usr/share/icons/hicolor/24x24/apps/distributor.png"
-- 
2.20.1




More information about the Libguestfs mailing list