Introduced second parameter to setup_chroot.sh to copy extra binaries
This commit is contained in:
@ -155,6 +155,12 @@ DIRECTORIES_GENERAL=(
|
||||
### test variables/parameters
|
||||
test "$CHROOT_DIRECTORY" != ""
|
||||
|
||||
if [ "$2" != "" ]; then
|
||||
CHROOT_BINARY $2
|
||||
echo "copied extra binary $2";
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
### init chroot directory
|
||||
mkdir -p $CHROOT_DIRECTORY
|
||||
chown root:www-data $CHROOT_DIRECTORY
|
||||
|
Reference in New Issue
Block a user