Sha256: 9c23745b702b91e0fea8b98f87f99a9d0b427a13d3deb2f145912bdbf2d50c58

Contents?: true

Size: 604 Bytes

Versions: 28

Compression:

Stored size: 604 Bytes

Contents

#!/bin/bash
source /etc/profile

# fix a weird issue with sshd not starting
# http://www.linuxquestions.org/questions/linux-networking-3/sshd-fatal-daemon-failed-no-such-device-279664/
chroot "$chroot" /bin/bash <<DATAEOF
rm -f /dev/null
mknod /dev/null c 1 3
chmod 0666 /dev/null
DATAEOF

# skip all the news
chroot "$chroot" /usr/bin/eselect news read all

# cleanup
chroot "$chroot" /bin/bash <<DATAEOF
# delete temp, cached and build artifact data
eclean -d distfiles
rm /tmp/*
rm -rf /var/log/*
rm -rf /var/tmp/*
rm /etc/profile.d/settings.sh

# clean root
rm -rf /root/.gem
#rm -rf /root/*
DATAEOF

Version data entries

28 entries across 14 versions & 1 rubygems

Version Path
veewee-0.4.1 templates/gentoo-latest-amd64/cleanup.sh
veewee-0.4.1 templates/gentoo-latest-i686/cleanup.sh
veewee-0.4.0 templates/gentoo-latest-i686/cleanup.sh
veewee-0.4.0 templates/gentoo-latest-amd64/cleanup.sh
veewee-0.3.12 templates/gentoo-latest-i686/cleanup.sh
veewee-0.3.12 templates/gentoo-latest-amd64/cleanup.sh
veewee-0.3.11 templates/gentoo-latest-amd64/cleanup.sh
veewee-0.3.11 templates/gentoo-latest-i686/cleanup.sh