Added rudefox-burrow installation
This commit is contained in:
parent
4f80f9a7e4
commit
ff9a6a2f5d
1
stage2/04-rudefox-burrow/00-packages
Normal file
1
stage2/04-rudefox-burrow/00-packages
Normal file
|
@ -0,0 +1 @@
|
||||||
|
openjdk-8-jre-headless
|
11
stage2/04-rudefox-burrow/01-run.sh
Executable file
11
stage2/04-rudefox-burrow/01-run.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
mkdir -p "${ROOTFS_DIR}/opt/"
|
||||||
|
rm -rf "${ROOTFS_DIR}/opt/rudefox-burrow"
|
||||||
|
wget https://repo.rudefox.io/repository/maven-public/io/rudefox/burrow/${RUDEFOX_BURROW_VERSION}/burrow-${RUDEFOX_BURROW_VERSION}.tar"
|
||||||
|
tar -C "${ROOTFS_DIR}/opt/" -xvf burrow*.tar
|
||||||
|
mv "${ROOTFS_DIR}/opt/burrow-"* "${ROOTFS_DIR}/opt/rudefox-burrow"
|
||||||
|
|
||||||
|
on_chroot <<EOF
|
||||||
|
ln -fs /opt/rudefox-burrow/bin/burrow /usr/bin/burrow
|
||||||
|
EOF
|
5
stage2/04-rudefox-burrow/02-run.sh
Executable file
5
stage2/04-rudefox-burrow/02-run.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
echo "" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"
|
||||||
|
echo "unset HISTFILE" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user