stripped bash-completion in chroot + added some useful binaries
This commit is contained in:
@ -55,6 +55,8 @@ CHROOT_DIRECTORY_STRUCTURE=(
|
||||
'/tmp'
|
||||
'/usr'
|
||||
'/usr/share'
|
||||
'/usr/share/bash-completion'
|
||||
'/usr/share/bash-completion/completions'
|
||||
'/usr/bin'
|
||||
'/usr/lib'
|
||||
'/usr/lib/openssh'
|
||||
@ -96,6 +98,7 @@ BINARIES_GENERAL=(
|
||||
'/usr/bin/find'
|
||||
'/usr/bin/openssl'
|
||||
'/bin/tar'
|
||||
'/bin/bzip2'
|
||||
'/bin/gzip'
|
||||
'/bin/gunzip'
|
||||
'/usr/bin/zip'
|
||||
@ -103,6 +106,8 @@ BINARIES_GENERAL=(
|
||||
'/usr/bin/curl'
|
||||
'/usr/bin/rsync'
|
||||
'/usr/bin/scp'
|
||||
'/usr/bin/sftp'
|
||||
'/usr/bin/ssh'
|
||||
'/usr/bin/wget'
|
||||
'/usr/bin/php7.3'
|
||||
'/usr/bin/mysql'
|
||||
@ -119,6 +124,7 @@ BINARIES_GENERAL=(
|
||||
'/bin/nano'
|
||||
'/usr/bin/vim'
|
||||
'/usr/bin/vi'
|
||||
'/usr/bin/awk'
|
||||
)
|
||||
FILES_GENERAL=(
|
||||
'/etc/hosts'
|
||||
@ -133,6 +139,31 @@ FILES_GENERAL=(
|
||||
'/etc/profile'
|
||||
'/etc/bash_completion'
|
||||
'/etc/bash.bashrc'
|
||||
'/usr/share/bash-completion/bash_completion'
|
||||
'/usr/share/bash-completion/completions/alias'
|
||||
'/usr/share/bash-completion/completions/bind'
|
||||
'/usr/share/bash-completion/completions/bzip2'
|
||||
'/usr/share/bash-completion/completions/compgen'
|
||||
'/usr/share/bash-completion/completions/complete'
|
||||
'/usr/share/bash-completion/completions/curl'
|
||||
'/usr/share/bash-completion/completions/declare'
|
||||
'/usr/share/bash-completion/completions/export'
|
||||
'/usr/share/bash-completion/completions/find'
|
||||
'/usr/share/bash-completion/completions/function'
|
||||
'/usr/share/bash-completion/completions/git'
|
||||
'/usr/share/bash-completion/completions/gzip'
|
||||
'/usr/share/bash-completion/completions/id'
|
||||
'/usr/share/bash-completion/completions/kill'
|
||||
'/usr/share/bash-completion/completions/mysql'
|
||||
'/usr/share/bash-completion/completions/openssl'
|
||||
'/usr/share/bash-completion/completions/pwd'
|
||||
'/usr/share/bash-completion/completions/rsync'
|
||||
'/usr/share/bash-completion/completions/scp'
|
||||
'/usr/share/bash-completion/completions/sh'
|
||||
'/usr/share/bash-completion/completions/sftp'
|
||||
'/usr/share/bash-completion/completions/tar'
|
||||
'/usr/share/bash-completion/completions/typeset'
|
||||
'/usr/share/bash-completion/completions/wget'
|
||||
)
|
||||
DIRECTORIES_GENERAL=(
|
||||
'/usr/lib/git-core'
|
||||
@ -142,7 +173,6 @@ DIRECTORIES_GENERAL=(
|
||||
'/etc/ssl'
|
||||
'/usr/lib/ssl'
|
||||
'/usr/share/ca-certificates'
|
||||
'/usr/share/bash-completion'
|
||||
'/etc/bash_completion.d'
|
||||
'/usr/share/zoneinfo'
|
||||
'/lib/terminfo'
|
||||
|
Reference in New Issue
Block a user