mirror of https://github.com/CIRCL/Circlean
Make it easier to update the PyCIRCLean install inside an image.
parent
ce6ee4ad85
commit
6b6d7df247
|
@ -22,6 +22,7 @@ if [ -z "$1" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
COMMAND=${1}
|
COMMAND=${1}
|
||||||
|
COMMAND_OPT=${2}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
@ -99,5 +100,4 @@ mv ${CHROOT_PATH}/etc/ld.so.preload ${CHROOT_PATH}/etc/ld.so.preload_bkp
|
||||||
# To make debugging easier
|
# To make debugging easier
|
||||||
echo "KittenGroomer: Image mounted, executing command from mount_image.sh" 1>&2
|
echo "KittenGroomer: Image mounted, executing command from mount_image.sh" 1>&2
|
||||||
|
|
||||||
|
${COMMAND} ${CHROOT_PATH} ${COMMAND_OPT}
|
||||||
${COMMAND} ${CHROOT_PATH}
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Change to your repo if doing python dev
|
||||||
|
./mount_image.sh chroot "pip install git+https://github.com/Dymaxion00/PyCIRCLean@dev"
|
Loading…
Reference in New Issue