molecules/scripts/tar_generic_inner_chroot_script_after.sh

49 lines
713 B
Bash
Raw Normal View History

#!/bin/sh
2010-09-17 13:40:17 +02:00
/usr/sbin/env-update
. /etc/profile
2010-09-17 13:40:17 +02:00
# remove sabayonuser
userdel sabayonuser
DROP_SERVICES="
alsasound
avahi-daemon
consolefont
dbus
fbcondecor
fsck
hotplug
hwclock
installer-gui
installer-text
keymaps
lvm
mdadm
netmount
NetworkManager
sabayonlive
swap
swapfiles
termencoding
x-setup
"
for serv in ${DROP_SERVICES}; do
rc-update del ${serv} default
rc-update del ${serv} boot
done
rc-update add vixie-cron default
rc-update del udev sysinit
rc-update del dmesg sysinit
2010-09-17 13:40:17 +02:00
# Generate list of installed packages
equo query list installed -qv > /etc/sabayon-pkglist
2011-07-10 11:30:23 +02:00
# remove hw hash
rm -f /etc/entropy/.hw.hash
# remove entropy pid file
rm -f /var/run/entropy/entropy.lock
exit 0