[Ovirt-devel] [PATCH] repost: some cleanup of ovirt-host kickstart to make images smaller
Perry N. Myers
pmyers at redhat.com
Thu Mar 20 14:49:33 UTC 2008
Perry N. Myers wrote:
> This patch adds --excludedocs to the kickstart for the x86_64 and i386
> ovirt host kickstarts. For the most part we're removing docs manually
> right now anyhow, but this may catch some other things.
>
> Also cleaned up the section that removes docs and localization.
> Recreate the cracklib dicts (frees up about 8MB) and remove unneeded
> kernel modules. Most of this stuff will just end up in the
> whitelist/blacklist module, but the cracklib stuff is a different
> issue. They can't be removed, they need to be recreated. This will
> probably need to continue to happen in %post.
>
> The end result of this cleanup is that the image boots and it is 58MB
> compressed/162MB uncompressed (filesystem is 450MB total)
>
> One of the things we need to fix is the filesystem total size. The
> filesystem doesn't need to be 450MB. It could be initially created as
> 450MB and then resized to 200MB or less.
>
> Signed-off-by: Perry Myers <pmyers at redhat.com>
Changed to remove /usr/share/i18n completely, added back sunrpc modules
and merged with Jim's fix for removing debugging statements.
Signed-off-by: Perry Myers <pmyers at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image-minimization.patch
Type: text/x-patch
Size: 3461 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080320/9ac5f36e/attachment.bin>
More information about the ovirt-devel
mailing list