rearrange/clarify removepkg lines
Add commentary for a bunch of the removepkg lines, and drop a bunch of things that were in the list that weren't being installed anyway. Also drop some redundant removepkg lines about chkconfig.
This commit is contained in:
parent
46a10f68f7
commit
ebbdcf72c4
@ -8,41 +8,43 @@
|
|||||||
remove usr/share/anaconda/lang-table
|
remove usr/share/anaconda/lang-table
|
||||||
|
|
||||||
## not required packages installed as dependencies
|
## not required packages installed as dependencies
|
||||||
## perl gets pulled in on ppc
|
## no perl (it gets pulled in on ppc)
|
||||||
removepkg perl*
|
removepkg perl*
|
||||||
## no sound support
|
## no sound support, thanks
|
||||||
removepkg alsa* flac gstreamer-tools libsndfile pulseaudio* sound-theme-freedesktop
|
removepkg alsa* flac gstreamer-tools libsndfile pulseaudio* sound-theme-freedesktop
|
||||||
removepkg dracut* plymouth*
|
## we don't use plymouth
|
||||||
|
removepkg plymouth*
|
||||||
|
## we don't create new initramfs/bootloader conf inside anaconda
|
||||||
|
## (that happens inside the target system after we install dracut/grubby)
|
||||||
|
removepkg dracut* grubby
|
||||||
|
## we don't run SELinux (not in enforcing, anyway)
|
||||||
removepkg checkpolicy selinux-policy libselinux-utils
|
removepkg checkpolicy selinux-policy libselinux-utils
|
||||||
removepkg ConsoleKit-x11 augeas-libs authconfig-gtk avahi-autoipd
|
## anaconda has its own repo files
|
||||||
removepkg avahi-libs coreutils-libs
|
removepkg fedora-release fedora-release-rawhide
|
||||||
removepkg cronie cronie-anacron crontabs cups-libs curl
|
## no user accounts = no account management
|
||||||
removepkg cyrus-sasl cyrus-sasl-md5 dash db4-utils
|
removepkg usermode usermode-gtk passwd shadow-utils
|
||||||
removepkg deltarpm desktop-file-utils device-mapper-event diffutils
|
## no services to turn on/off
|
||||||
removepkg dmraid-events fedora-release fedora-release-rawhide
|
removepkg chkconfig
|
||||||
removepkg file fipscheck
|
## we don't check GPG keys (hooray bug #998)
|
||||||
removepkg genisoimage gnome-python2 gnome-vfs2 gnupg2 grubby
|
removepkg gnupg2 pinentry
|
||||||
removepkg info ipmitool iptables iptables-ipv6 isomd5sum jasper-libs
|
## no printer support in anaconda
|
||||||
removepkg json-glib kbd-misc libIDL libXmu libXt
|
removepkg cups-libs
|
||||||
removepkg libXxf86misc libXxf86vm libasyncns libccss libcgroup
|
## no storage device monitoring
|
||||||
removepkg libcroco libdaemon libevent libgnome libhbaapi libhbalinux
|
removepkg device-mapper-event dmraid-events sgpio
|
||||||
removepkg libmcpp libpcap librdmacm librsvg2
|
## we don't support deltarpms in anaconda
|
||||||
removepkg libsoup libtiff libutempter
|
removepkg deltarpm
|
||||||
removepkg libvirt-client libwnck libxslt linux-atm-libs llvm lm_sensors-libs
|
|
||||||
|
## various other things we remove to save space
|
||||||
|
removepkg avahi-autoipd coreutils-libs curl dash db4-utils diffutils file
|
||||||
|
removepkg fipscheck genisoimage gnome-python2 info iptables isomd5sum
|
||||||
|
removepkg jasper-libs kbd-misc libIDL libXmu libXt libXxf86misc libXxf86vm
|
||||||
|
removepkg libasyncns libcroco libdaemon libevent libhbaapi libhbalinux
|
||||||
|
removepkg libmcpp libpcap librsvg2 libtiff libutempter linux-atm-libs
|
||||||
removepkg logrotate lvm2-libs m4 mailx makebootfat mcpp mesa-dri-drivers
|
removepkg logrotate lvm2-libs m4 mailx makebootfat mcpp mesa-dri-drivers
|
||||||
removepkg mesa-libGL mingetty mobile-broadband-provider-info modcluster
|
removepkg mingetty mobile-broadband-provider-info nss-sysinit pkgconfig ppp pth
|
||||||
removepkg nc net-snmp-libs
|
removepkg rmt rpcbind shared-mime-info squashfs-tools system-config-firewall-base
|
||||||
removepkg net-snmp-utils netcf-libs nfs-utils-lib nss-sysinit nss-tools ntp
|
removepkg tigervnc-license ttmkfdir xml-common xorg-x11-font-utils
|
||||||
removepkg numactl oddjob passwd
|
removepkg xorg-x11-server-common yum-utils
|
||||||
removepkg pexpect pinentry pkgconfig ppp pth
|
|
||||||
removepkg ricci rmt rpcbind setuptool
|
|
||||||
removepkg sg3_utils sg3_utils-libs sgml-common sgpio shadow-utils
|
|
||||||
removepkg shared-mime-info
|
|
||||||
removepkg squashfs-tools system-config-firewall-base system-config-users
|
|
||||||
removepkg telnet tigervnc-license ttmkfdir usermode
|
|
||||||
removepkg usermode-gtk xdg-utils xen-libs xen-licenses
|
|
||||||
removepkg xml-common xorg-x11-font-utils xorg-x11-server-common xorg-x11-xauth
|
|
||||||
removepkg xorg-x11-xinit yajl yum-utils
|
|
||||||
|
|
||||||
## other removals
|
## other removals
|
||||||
remove /boot /home /media /mnt /opt /srv /tmp/*
|
remove /boot /home /media /mnt /opt /srv /tmp/*
|
||||||
@ -144,8 +146,6 @@ removefrom btrfs-progs /sbin/btrfs /sbin/btrfs-* /sbin/btrfstune
|
|||||||
removefrom ca-certificates /etc/pki/java/*
|
removefrom ca-certificates /etc/pki/java/*
|
||||||
removefrom ca-certificates /etc/pki/tls/certs/ca-bundle.trust.crt /etc/ssl/*
|
removefrom ca-certificates /etc/pki/tls/certs/ca-bundle.trust.crt /etc/ssl/*
|
||||||
removefrom cairo /usr/${libdir}/libcairo-script*
|
removefrom cairo /usr/${libdir}/libcairo-script*
|
||||||
removefrom chkconfig /sbin/chkconfig /usr/sbin/alternatives
|
|
||||||
removefrom chkconfig /usr/sbin/update-alternatives /var/lib/alternatives
|
|
||||||
removefrom coreutils /etc/* /bin/link /bin/nice /bin/stty /bin/su /bin/unlink
|
removefrom coreutils /etc/* /bin/link /bin/nice /bin/stty /bin/su /bin/unlink
|
||||||
removefrom coreutils /sbin/* /usr/bin/[ /usr/bin/base64 /usr/bin/chcon
|
removefrom coreutils /sbin/* /usr/bin/[ /usr/bin/base64 /usr/bin/chcon
|
||||||
removefrom coreutils /usr/bin/cksum /usr/bin/comm /usr/bin/csplit /usr/bin/cut
|
removefrom coreutils /usr/bin/cksum /usr/bin/comm /usr/bin/csplit /usr/bin/cut
|
||||||
@ -472,5 +472,6 @@ runcmd find ${root} -name "*.pyo" -type f -delete
|
|||||||
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;
|
runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;
|
||||||
|
|
||||||
## remove any broken links in /etc, /usr, /lib
|
## remove any broken links in /etc, /usr, /lib
|
||||||
|
## (broken systemd service links lead to confusing noise at boot)
|
||||||
## NOTE: not checking /var because we want to keep /var/run
|
## NOTE: not checking /var because we want to keep /var/run
|
||||||
runcmd chroot ${root} find -L /etc /usr /lib -xdev -type l -delete
|
runcmd chroot ${root} find -L /etc /usr /lib -xdev -type l -delete
|
||||||
|
Loading…
Reference in New Issue
Block a user