Remove some extra Centos Packages
Removes webkit and polkit from ramdisks which are not operationally needed as we don't need to render web pages in the ramdisk, and we don't need to do system wide policy enforcement. This does chain them with || true, just to be on the safe side as we're trying to opportunistically cut excess cruft in order to save space overall. Locally, these changes have taken the uncompressed ramdisk footprint from 780MB to 730MB. Change-Id: I402a60c61f1b88b98798d9fae52420b1ca256512
This commit is contained in:
parent
d543aa8bf4
commit
43f2eae773
@ -23,6 +23,11 @@ done
|
||||
case "$DISTRO_NAME" in
|
||||
fedora|centos|rhel)
|
||||
${YUM:-yum} remove -y postfix gcc make
|
||||
# Remove webkit... Save ~26MB. This is a ramdisk, not a web brower.
|
||||
${YUM:-yum} remove -y webkit2gtk3-jsc libproxy-webkitgtk4 || true
|
||||
# Remove polkit... Save ~23 MB. This is a ramdisk, not a desktop.
|
||||
${YUM:-yum} remove -y polkit polkit-libs PackageKit polkit-pkla-compat || true
|
||||
|
||||
${YUM:-yum} clean all
|
||||
# Rebuilding the rpm database after removing packages will reduce
|
||||
# its size
|
||||
|
Loading…
x
Reference in New Issue
Block a user