cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Fonseca <>
Subject Another bad packaging issue
Date Sun, 26 Apr 2015 13:55:27 GMT
I've started taking a look at the size of the RPMs and the contents.. and
it's really nasty :)

The cloudstack-common package for instance.. has been over 100MB for at
least a few versions... looking into that.. there's a duplication of files
regarding the systemvm iso...

rpm -qlp cloudstack-common* shows:


Zipping this is redundant, since the iso is already compressed.
This gets BOTH files into the RPM and subsequently into the server's

[root@testcloud cloudstack]# ls -lah /usr/share/cloudstack-common/vms/
total 114M
drwxr-xr-x. 2 root root  44 Apr 25 11:27 .
drwxr-xr-x. 5 root root  40 Apr 25 11:27 ..
-rw-r--r--. 1 root root 57M Apr 25 11:18 systemvm.iso
-rw-r--r--. 1 root root 57M Apr 25 11:18

waste of space in both the rpm and the filesystem... it should take half
the size. I see no particular benefit on using a zipped version of that
iso.. altough an extra set of files need to be edited to get rid of that

This also happens for other packages like cloudstack-management*
A lot of .css and .js files are getting compressed and then including both
versions into the RPM and finally both versions into the filesystem.. you
can check all those duplicate files, for example,
in /usr/share/cloudstack-management/webapps/client/scripts/
This directory alone should save us a few megabytes in the RPM and

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message