burrow-pi-img/stage2/04-rudefox-burrow/02-run.sh

11 lines
274 B
Bash
Raw Normal View History

2020-09-01 17:35:57 +00:00
#!/bin/bash -e
mkdir -p "${ROOTFS_DIR}/opt/"
rm -rf "${ROOTFS_DIR}/opt/rudefox-burrow"
tar -C "${ROOTFS_DIR}/opt/" -xvf burrow.tar
mv "${ROOTFS_DIR}/opt/burrow-"* "${ROOTFS_DIR}/opt/rudefox-burrow"
2020-09-01 17:35:57 +00:00
on_chroot <<EOF
ln -fs /opt/rudefox-burrow/bin/burrow /usr/bin/burrow
EOF