F21 System Wide Change: Smaller Cloud Image Footprint

Jaroslav Reznik jreznik at redhat.com
Mon Apr 14 15:07:21 UTC 2014

= Proposed System Wide Change:  Smaller Cloud Image Footprint = 

Change owner(s): Sandro Mathys <red at fedoraproject.org> & Cloud SIG

Shrink the footprint of our cloud images as far as reasonably, and within the 
given timeframe, possible. 

== Detailed Description ==
Space is precious in the cloud, therefore the Cloud SIG tries to keep the 
images' footprint as small as reasonably possible. Several approaches are 
ongoing in this regard and while they are hardly worth mentioning 
individually, the combined effort is going to be noticeable. 

== Scope ==
As mentioned, there's really various changes that are quite independent of 
each other but share the common goal.

* Proposal owners:
** Replace NetworkManager, etc. with systemd-networkd.
** Make sure only just kernel-core, not kernel and kernel-drivers, is 
installed (see the related change: Modular Kernel Packaging for Cloud [1]).
** Make sure only the packages really required are installed.
** Use %packages --excludedocs to to skip installing docs.
** Use %packages --instLangs= to ship only just English.
** Tweak the locales (in %post) so that local-archive ships with only just 
English instead of all languages. We might skip this one if it seems too much 
tinkering. Work is going on to have proper support for this in the glibc 
package (see rhbz#156477 [2] - also, c#30 shows the necessary tinkering).

* Other developers:
** Packages that are part of any cloud image (and in the long run all 
packages) must use %license instead of %doc for the license file(s) so we can 
skip shipping docs but still ship licenses. (See separate change Use license 
macro in RPMs for packages in Cloud Image [3]
** cloud-init should no longer require python-cheetah and needs to be 
refactored (upstream) accordingly.

* Release engineering: Nothing.

* Policies and guidelines:
** Packaging Guidelines need to reflect that license files must be tagged with 
%license instead of %docs (FPC#411 [4]).

[1] https://fedoraproject.org/wiki/Changes/Modular_Kernel_Packaging_for_Cloud
[2] https://bugzilla.redhat.com/show_bug.cgi?id=156477
packages in Cloud Image
[4] https://fedorahosted.org/fpc/ticket/411
devel-announce mailing list
devel-announce at lists.fedoraproject.org

More information about the devel mailing list