2013-04-25 15:54:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cache=`readlink -f .`
|
|
|
|
rootfs="${cache}/rootfs"
|
|
|
|
|
|
|
|
echo "installing babushka"
|
|
|
|
cat > $rootfs/tmp/install-babushka.sh << EOF
|
|
|
|
#!/bin/sh
|
2013-04-29 13:25:48 +00:00
|
|
|
curl -L https://babushka.me/up/hard | sudo bash
|
2013-04-25 15:54:54 +00:00
|
|
|
|
|
|
|
EOF
|
|
|
|
chmod +x $rootfs/tmp/install-babushka.sh
|
|
|
|
chroot $rootfs /tmp/install-babushka.sh
|
|
|
|
|
|
|
|
rm -rf $rootfs/tmp/*
|