2013-04-25 15:54:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2013-09-19 15:02:14 +00:00
|
|
|
rootfs=$1
|
2013-04-25 15:54:54 +00:00
|
|
|
|
|
|
|
echo "installing babushka"
|
|
|
|
cat > $rootfs/tmp/install-babushka.sh << EOF
|
|
|
|
#!/bin/sh
|
2013-09-19 15:02:14 +00:00
|
|
|
curl https://babushka.me/up | 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/*
|