]> CyberLeo.Net >> Repos - CDN/j.git/blob - seeds/rvm.sh
j: add seed support for scripted chroot creation
[CDN/j.git] / seeds / rvm.sh
1 # Initialize an rvm chroot using the debian seed
2
3 arch=i386
4 suite=lenny
5 include=curl,file,less,locales,sudo,vim,whois,htop,openssh-client,rsync,git-core,build-essential,libreadline5-dev,zlib1g-dev
6
7 . "${jseed}/debian.sh"
8
9 echo "Installing RVM"
10 chroot --userspec=$(id -u "${ORIG_USER}"):$(id -g "${ORIG_USER}") "${jroot}" env -i ${jenv} HOME=/home/${ORIG_USER} sh -lc 'cd; curl -L http://get.rvm.io/ | bash -s stable'