remove f15 junk from runtime-cleanup

This commit is contained in:
Will Woods 2011-06-24 18:09:44 -04:00
parent ef8e0b4538
commit 6ebbe2c19c
1 changed files with 19 additions and 29 deletions

View File

@ -78,16 +78,7 @@ arch/x86/kvm
%endfor %endfor
## FIXME: run depmod, generate module-info ## FIXME: run depmod, generate module-info
## remove systemd for F15, otherwise clean it up ## Clean up systemd
%if int(product.version) == 15:
remove /cgroup /var/cache /var/log
removepkg chkconfig filesystem systemd-units
removefrom NetworkManager /lib/systemd/*
removefrom dbus /lib/systemd/*
removefrom initscripts /lib/systemd/*
removefrom systemd /bin/* /lib/systemd/* /usr/share/systemd/*
removefrom util-linux /sbin/agetty
%else:
removefrom ConsoleKit /lib/systemd/* removefrom ConsoleKit /lib/systemd/*
removefrom avahi /lib/systemd/* removefrom avahi /lib/systemd/*
removefrom chkconfig /sbin/chkconfig /usr/sbin/alternatives removefrom chkconfig /sbin/chkconfig /usr/sbin/alternatives
@ -106,7 +97,6 @@ arch/x86/kvm
removefrom systemd-units /lib/systemd/system/quota* removefrom systemd-units /lib/systemd/system/quota*
removefrom systemd-units /lib/systemd/system/smartcard* removefrom systemd-units /lib/systemd/system/smartcard*
removefrom systemd-units /lib/systemd/system/systemd-remount-api-vfs.service removefrom systemd-units /lib/systemd/system/systemd-remount-api-vfs.service
%endif
## other package specific removals ## other package specific removals
removefrom ConsoleKit /etc/ConsoleKit* /etc/init/* /usr/bin/* /usr/lib/* removefrom ConsoleKit /etc/ConsoleKit* /etc/init/* /usr/bin/* /usr/lib/*