~ salmonella-environment-setup (master) 9bc7aaa127dd24c9bb7f061ba5ee56ce21044f75
commit 9bc7aaa127dd24c9bb7f061ba5ee56ce21044f75 Author: Mario Domenech Goulart <mario.goulart@gmail.com> AuthorDate: Wed Oct 15 14:04:45 2014 -0300 Commit: Mario Domenech Goulart <mario.goulart@gmail.com> CommitDate: Mon Oct 27 14:46:06 2014 -0200 salmonella: remove clean-chroot.sh (we don't run chroots anymore) diff --git a/clean-chroot.sh b/clean-chroot.sh deleted file mode 100755 index c460484..0000000 --- a/clean-chroot.sh +++ /dev/null @@ -1,24 +0,0 @@ -if [ -z "$1" ]; then - echo "Usage `basename $0` <chroot dir>" - exit 1 -fi - -chrootdir=$1 -version=wheezy # current testing - -# Google's public DNS -echo 'nameserver 8.8.8.8' > $chrootdir/etc/resolv.conf - -# Set root's home empty -rm -rf $chrootdir/root -mkdir $chrootdir/root - -# Reset apt's sources.list -echo "deb http://ftp.debian.org/debian $version main" > $chrootdir/etc/apt/sources.list -echo "deb http://ftp.debian.org/debian $version/updates main contrib" >> $chrootdir/etc/apt/sources.list - -# Clean up some extra files/dirs -rm -f $chrootdir/var/cache/apt/archives/*.deb -rm -f $chrootdir/var/cache/apt/archives/partial/* -rm -rf $chrootdir/tmp/* -rm -rf $chrootdir/usr/local/chicken-*Trap