[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]