linuxdeploy -d -t start -m
+ config_which kali_linux
+ local 'conf_file=kali_linux'
+ '[' -n kali_linux ]
+ '[' -n kali_linux ]
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf
+ echo /data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf
+ CONF_FILE=/data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf
+ basename /data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf .conf
+ PROFILE=kali_linux
+ OPTLST=' '
+ params_read /data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf
+ local 'conf_file=/data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/config/kali_linux.conf ]
+ local item key val
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'ARCH="armhf"'
+ key=ARCH
+ val='"armhf"'
+ '[' -n ARCH ]
+ eval 'ARCH="armhf"'
+ ARCH=armhf
+ '[' -n ' ' ]
+ OPTLST=' ARCH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DESKTOP="lxde"'
+ key=DESKTOP
+ val='"lxde"'
+ '[' -n DESKTOP ]
+ eval 'DESKTOP="lxde"'
+ DESKTOP=lxde
+ '[' -n ' ARCH ' ]
+ OPTLST=' ARCH DESKTOP '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DISK_SIZE="0"'
+ key=DISK_SIZE
+ val='"0"'
+ '[' -n DISK_SIZE ]
+ eval 'DISK_SIZE="0"'
+ DISK_SIZE=0
+ '[' -n ' ARCH DESKTOP ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DISTRIB="kalilinux"'
+ key=DISTRIB
+ val='"kalilinux"'
+ '[' -n DISTRIB ]
+ eval 'DISTRIB="kalilinux"'
+ DISTRIB=kalilinux
+ '[' -n ' ARCH DESKTOP DISK_SIZE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'DNS=""'
+ key=DNS
+ val='""'
+ '[' -n DNS ]
+ eval 'DNS=""'
+ DNS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_ARGS="-dpi' 100 -sharevts 'vt0"'
+ key=FB_ARGS
+ val='"-dpi 100 -sharevts vt0"'
+ '[' -n FB_ARGS ]
+ eval 'FB_ARGS="-dpi 100 -sharevts vt0"'
+ FB_ARGS='-dpi 100 -sharevts vt0'
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_DEV="/dev/graphics/fb0"'
+ key=FB_DEV
+ val='"/dev/graphics/fb0"'
+ '[' -n FB_DEV ]
+ eval 'FB_DEV="/dev/graphics/fb0"'
+ FB_DEV=/dev/graphics/fb0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_DISPLAY="0"'
+ key=FB_DISPLAY
+ val='"0"'
+ '[' -n FB_DISPLAY ]
+ eval 'FB_DISPLAY="0"'
+ FB_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_FREEZE="none"'
+ key=FB_FREEZE
+ val='"none"'
+ '[' -n FB_FREEZE ]
+ eval 'FB_FREEZE="none"'
+ FB_FREEZE=none
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FB_INPUT="/dev/input/event0"'
+ key=FB_INPUT
+ val='"/dev/input/event0"'
+ '[' -n FB_INPUT ]
+ eval 'FB_INPUT="/dev/input/event0"'
+ FB_INPUT=/dev/input/event0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'+
echo 'FB_REFRESH="true"'
+ key=FB_REFRESH
+ val='"true"'
+ '[' -n FB_REFRESH ]
+ eval 'FB_REFRESH="true"'
+ FB_REFRESH=true
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'FS_TYPE="ext4"'
+ key=FS_TYPE
+ val='"ext4"'
+ '[' -n FS_TYPE ]
+ eval 'FS_TYPE="ext4"'
+ FS_TYPE=ext4
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'GRAPHICS="vnc"'
+ key=GRAPHICS
+ val='"vnc"'
+ '[' -n GRAPHICS ]
+ eval 'GRAPHICS="vnc"'
+ GRAPHICS=vnc
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS '
+ read item
+ echo 'INCLUDE="bootstrap' desktop extra/ssh 'graphics"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INCLUDE
+ val='"bootstrap desktop extra/ssh graphics"'
+ '[' -n INCLUDE ]
+ eval 'INCLUDE="bootstrap desktop extra/ssh graphics"'
+ INCLUDE='bootstrap desktop extra/ssh graphics'
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'INIT="run-parts"'
+ key=INIT
+ val='"run-parts"'
+ '[' -n INIT ]
+ eval 'INIT="run-parts"'
+ INIT=run-parts
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'INIT_ASYNC="false"'
+ key=INIT_ASYNC
+ val='"false"'
+ '[' -n INIT_ASYNC ]
+ eval 'INIT_ASYNC="false"'
+ INIT_ASYNC=false
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC '
+ read item
+ echo 'INIT_LEVEL="3"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_LEVEL
+ val='"3"'
+ '[' -n INIT_LEVEL ]
+ eval 'INIT_LEVEL="3"'
+ INIT_LEVEL=3
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL '
+ read item
+ echo 'INIT_PATH="/etc/rc.local"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_PATH
+ val='"/etc/rc.local"'
+ '[' -n INIT_PATH ]
+ eval 'INIT_PATH="/etc/rc.local"'
+ INIT_PATH=/etc/rc.local
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH '
+ read item
+ echo 'INIT_USER="root"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=INIT_USER
+ val='"root"'
+ '[' -n INIT_USER ]
+ eval 'INIT_USER="root"'
+ INIT_USER=root
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER '
+ read item
+ echo 'LOCALE="ru_RU.UTF-8"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=LOCALE
+ val='"ru_RU.UTF-8"'
+ '[' -n LOCALE ]
+ eval 'LOCALE="ru_RU.UTF-8"'
+ LOCALE=ru_RU.UTF-8
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE '
+ read item
+ echo 'METHOD="chroot"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=METHOD
+ val='"chroot"'
+ '[' -n METHOD ]
+ eval 'METHOD="chroot"'
+ METHOD=chroot
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD '
+ read item
+ echo 'MOUNTS=""'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=MOUNTS
+ val='""'
+ '[' -n MOUNTS ]
+ eval 'MOUNTS=""'
+ MOUNTS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS '
+ read item
+ echo 'PRIVILEGED_USERS="root"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=PRIVILEGED_USERS
+ val='"root"'
+ '[' -n PRIVILEGED_USERS ]
+ eval 'PRIVILEGED_USERS="root"'
+ PRIVILEGED_USERS=root
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS '
+ read item
+ echo 'PULSE_HOST="127.0.0.1"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=PULSE_HOST
+ val='"127.0.0.1"'
+ '[' -n PULSE_HOST ]
+ eval 'PULSE_HOST="127.0.0.1"'
+ PULSE_HOST=127.0.0.1
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'PULSE_PORT="4712"'
+ key=PULSE_PORT
+ val='"4712"'
+ '[' -n PULSE_PORT ]
+ eval 'PULSE_PORT="4712"'
+ PULSE_PORT=4712
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SOURCE_PATH="
http://kali.org/kali/"'
+ key=SOURCE_PATH
+ val='"
http://kali.org/kali/"'
+ '[' -n SOURCE_PATH ]
+ eval 'SOURCE_PATH="
http://kali.org/kali/"'
+ SOURCE_PATH=
http://kali.org/kali/+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'SSH_ARGS=""'
+ key=SSH_ARGS
+ val='""'
+ '[' -n SSH_ARGS ]
+ eval 'SSH_ARGS=""'
+ SSH_ARGS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS '
+ read item
+ echo 'SSH_PORT="22"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=SSH_PORT
+ val='"22"'
+ '[' -n SSH_PORT ]
+ eval 'SSH_PORT="22"'
+ SSH_PORT=22
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT '
+ read item
+ echo 'SUITE="kali-rolling"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=SUITE
+ val='"kali-rolling"'
+ '[' -n SUITE ]
+ eval 'SUITE="kali-rolling"'
+ SUITE=kali-rolling
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'TARGET_PATH="/storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img"'
+ key=TARGET_PATH
+ val='"/storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img"'
+ '[' -n TARGET_PATH ]
+ eval 'TARGET_PATH="/storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img"'
+ TARGET_PATH=/storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'TARGET_TYPE="file"'
+ key=TARGET_TYPE
+ val='"file"'
+ '[' -n TARGET_TYPE ]
+ eval 'TARGET_TYPE="file"'
+ TARGET_TYPE=file
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'USER_NAME="android"'
+ key=USER_NAME
+ val='"android"'
+ '[' -n USER_NAME ]
+ eval 'USER_NAME="android"'
+ USER_NAME=android
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'USER_PASSWORD="andrey"'
+ key=USER_PASSWORD
+ val='"andrey"'
+ '[' -n USER_PASSWORD ]
+ eval 'USER_PASSWORD="andrey"'
+ USER_PASSWORD=andrey
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD '
+ read item
+ + echo 'VNC_ARGS=""'
grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_ARGS
+ val='""'
+ '[' -n VNC_ARGS ]
+ eval 'VNC_ARGS=""'
+ VNC_ARGS=
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS '
+ read item
+ grep+ echo 'VNC_DEPTH="16"'
-o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_DEPTH
+ val='"16"'
+ '[' -n VNC_DEPTH ]
+ eval 'VNC_DEPTH="16"'
+ VNC_DEPTH=16
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH '
+ read item
+ echo 'VNC_DISPLAY="0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_DISPLAY
+ val='"0"'
+ '[' -n VNC_DISPLAY ]
+ eval 'VNC_DISPLAY="0"'
+ VNC_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY '
+ read item
+ echo 'VNC_DPI="75"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_DPI
+ val='"75"'
+ '[' -n VNC_DPI ]
+ eval 'VNC_DPI="75"'
+ VNC_DPI=75
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI '
+ read item
+ + echogrep 'VNC_HEIGHT="720"' -o
'^[0-9A-Z_]\{1,32\}'
+ key=VNC_HEIGHT
+ val='"720"'
+ '[' -n VNC_HEIGHT ]
+ eval 'VNC_HEIGHT="720"'
+ VNC_HEIGHT=720
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT '
+ read item
+ echo 'VNC_WIDTH="1280"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=VNC_WIDTH
+ val='"1280"'
+ '[' -n VNC_WIDTH ]
+ eval 'VNC_WIDTH="1280"'
+ VNC_WIDTH=1280
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH '
+ read item
+ echo 'X11_DISPLAY="0"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=X11_DISPLAY
+ val='"0"'
+ '[' -n X11_DISPLAY ]
+ eval 'X11_DISPLAY="0"'
+ X11_DISPLAY=0
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY '
+ read item
+ echo 'X11_HOST="127.0.0.1"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=X11_HOST
+ val='"127.0.0.1"'
+ '[' -n X11_HOST ]
+ eval 'X11_HOST="127.0.0.1"'
+ X11_HOST=127.0.0.1
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST '
+ read item
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ echo 'X11_SDL="false"'
+ key=X11_SDL
+ val='"false"'
+ '[' -n X11_SDL ]
+ eval 'X11_SDL="false"'
+ X11_SDL=false
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL '
+ read item
+ echo 'X11_SDL_DELAY="15"'
+ grep -o '^[0-9A-Z_]\{1,32\}'
+ key=X11_SDL_DELAY
+ val='"15"'
+ '[' -n X11_SDL_DELAY ]
+ eval 'X11_SDL_DELAY="15"'
+ X11_SDL_DELAY=15
+ '[' -n ' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL ' ]
+ OPTLST=' ARCH DESKTOP DISK_SIZE DISTRIB DNS FB_ARGS FB_DEV FB_DISPLAY FB_FREEZE FB_INPUT FB_REFRESH FS_TYPE GRAPHICS INCLUDE INIT INIT_ASYNC INIT_LEVEL INIT_PATH INIT_USER LOCALE METHOD MOUNTS PRIVILEGED_USERS PULSE_HOST PULSE_PORT SOURCE_PATH SSH_ARGS SSH_PORT SUITE TARGET_PATH TARGET_TYPE USER_NAME USER_PASSWORD VNC_ARGS VNC_DEPTH VNC_DISPLAY VNC_DPI VNC_HEIGHT VNC_WIDTH X11_DISPLAY X11_HOST X11_SDL X11_SDL_DELAY '
+ read item
+ WITHOUT_CHECK=false
+ WITHOUT_DEPENDS=false
+ REVERSE_DEPENDS=false
+ EXCLUDE_COMPONENTS=
+ METHOD=chroot
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/config ]
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include ]
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/tmp ]
+ '[' -d /data/local/mnt ]
+ OPTCMD=start
+ shift
+ OPTIND=1
+ getopts :m FLAG
+ mount_flag=true
+ getopts :m FLAG
+ shift 1
+ '[' true '=' true ]
+ container_mount
+ '[' chroot '=' chroot ]
+ '[' 0 -eq 0 ]
+ container_mount root proc sys dev shm pts fd tty tun binfmt_misc
+ '[' chroot '=' chroot ]
+ '[' 10 -eq 0 ]
+ params_check TARGET_PATH
+ local 'params_list=TARGET_PATH'
+ local key val params_lost
+ eval 'val=$TARGET_PATH'
+ val=/storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img
+ '[' -z /storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img ]
+ '[' -n ]
+ return 0
+ msg -n 'Checking file system ... '
+ echo -n 'Checking file system ... '
Checking file system ... + fs_check
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+
+ return 0
+ return 1
+ is_ok skip 'done'
+ '[' 1 -eq 0 ]
+ '[' -n skip ]
+ msg skip
+ echo skip
skip
+ return 1
+ msg 'Mounting the container: '
+ echo 'Mounting the container: '
Mounting the container:
+ local item
+ mount_part root
+ msg -n '/ ... '
+ echo -n/ ... '/ ... '
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+
+ return 0
+ msg skip
+ echoskip
skip
+ return 0
+ mount_part proc
+ msg -n '/proc ... '
+ echo -n/proc ... '/proc ... '
+ local 'target=/data/local/mnt/proc'
+ is_mounted /data/local/mnt/proc
+ local 'mount_point=/data/local/mnt/proc'
+ '[' -n /data/local/mnt/proc ]
+ grep -q ' /data/local/mnt/proc ' /proc/mounts
+
+ return 0
+ msg skip
+ echoskip
skip
+ return 0
+ mount_part sys
+ msg -n '/sys ... '
+ echo -n '/sys ... '
/sys ... + local 'target=/data/local/mnt/sys'
+ is_mounted /data/local/mnt/sys
+ local 'mount_point=/data/local/mnt/sys'
+ '[' -n /data/local/mnt/sys ]
+ grep -q ' /data/local/mnt/sys ' /proc/mounts
+
+ return 0
+ msg skip
+ echo skip
skip
+ return 0
+ mount_part dev
+ msg -n '/dev ... '
+ echo -n '/dev ... '
/dev ... + local 'target=/data/local/mnt/dev'
+ is_mounted /data/local/mnt/dev
+ local 'mount_point=/data/local/mnt/dev'
+ '[' -n /data/local/mnt/dev ]
+ grep -q ' /data/local/mnt/dev ' /proc/mounts
+
+ return 0
+ msg skip
+ echo skip
skip
+ return 0
+ mount_part shm
+ msg -n '/dev/shm ... '
+ echo -n '/dev/shm ... '
/dev/shm ... + is_mounted /dev/shm
+ local 'mount_point=/dev/shm'
+ '[' -n /dev/shm ]
+ grep -q ' /dev/shm ' /proc/mounts
+
+ return 0
+ local 'target=/data/local/mnt/dev/shm'
+ is_mounted /data/local/mnt/dev/shm
+ local 'mount_point=/data/local/mnt/dev/shm'
+ '[' -n /data/local/mnt/dev/shm ]
+ grep -q ' /data/local/mnt/dev/shm ' /proc/mounts
+
+ return 0
+ msg skip
+ echo skip
skip
+ return 0
+ mount_part pts
+ msg -n '/dev/pts ... '
+ echo -n '/dev/pts ... '
/dev/pts ... + is_mounted /dev/pts
+ local 'mount_point=/dev/pts'
+ '[' -n /dev/pts ]
+ grep -q ' /dev/pts ' /proc/mounts
+
+ return 0
+ local 'target=/data/local/mnt/dev/pts'
+ is_mounted /data/local/mnt/dev/pts
+ local 'mount_point=/data/local/mnt/dev/pts'
+ '[' -n /data/local/mnt/dev/pts ]
+ grep -q ' /data/local/mnt/dev/pts ' /proc/mounts
+
+ return 0
+ msg skip
+ echo skip
skip
+ return 0
+ mount_part fd
+ '[' '!' -e /dev/fd -o '!' -e /dev/stdin -o '!' -e /dev/stdout -o '!' -e /dev/stderr ]
+ return 0
+ mount_part tty
+ '[' '!' -e /dev/tty0 ]
+ return 0
+ mount_part tun
+ '[' '!' -e /dev/net/tun ]
+ return 0
+ mount_part binfmt_misc
+ multiarch_support
+ '[' -d /proc/sys/fs/binfmt_misc ]
+ return 1
+ return 0
+ return 0
+ return 0
+ container_start
+ container_mounted
+ '[' chroot '=' chroot ]
+ is_mounted /data/local/mnt
+ local 'mount_point=/data/local/mnt'
+ '[' -n /data/local/mnt ]
+ grep -q ' /data/local/mnt ' /proc/mounts
+
+ return 0
+ DO_ACTION=do_start
+ '[' 0 -gt 0 ]
+ component_exec 'bootstrap desktop extra/ssh graphics'
+ local 'components=bootstrap desktop extra/ssh graphics'
+ '[' false '!=' true ]
+ IGNORE_DEPENDS=' ' component_depends bootstrap desktop extra/ssh graphics
+ local 'components=bootstrap desktop extra/ssh graphics'
+ '[' -n 'bootstrap desktop extra/ssh graphics' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ' ' ]
+ IGNORE_DEPENDS=' bootstrap '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ eval 'DEPENDS="bootstrap/rootfs' 'bootstrap/${DISTRIB}' 'core"'
+ DEPENDS='bootstrap/rootfs bootstrap/kalilinux core'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap/rootfs bootstrap/kalilinux core
+ local 'components=bootstrap/rootfs bootstrap/kalilinux core'
+ '[' -n 'bootstrap/rootfs bootstrap/kalilinux core' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap/rootfs
+ '[' -z ' bootstrap ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo bootstrap/rootfs
+ component=bootstrap/kalilinux
+ '[' -z ' bootstrap bootstrap/rootfs ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.conf
+ eval 'DEPENDS="bootstrap"'
+ DEPENDS=bootstrap
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap
+ local 'components=bootstrap'
+ '[' -n bootstrap ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ]
+ continue
+ echo bootstrap/kalilinux
+ component=core
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ eval 'DEPENDS="core/emulator' core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo 'core/unchroot"'
+ DEPENDS='core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot
+ local 'components=core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' -n 'core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot' ]
+ local component conf_file TARGET DEPENDS
+ component=core/emulator
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/emulator
+ component=core/motd
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/motd
+ component=core/hosts
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/hosts
+ component=core/hostname
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/hostname
+ component=core/mnt
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/mnt
+ component=core/net
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/net
+ component=core/timezone
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/timezone
+ component=core/su
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/su
+ component=core/locale
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/locale
+ component=core/aid
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/aid
+ component=core/profile
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/profile
+ component=core/sudo
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/sudo
+ component=core/unchroot
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ eval
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends
+ local 'components='
+ '[' -n ]
+ return 0
+ echo core/unchroot
+ echo core
+ echo bootstrap
+ component=desktop
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ eval 'DEPENDS="bootstrap' desktop/desktop-base 'desktop/${DESKTOP}"'
+ DEPENDS='bootstrap desktop/desktop-base desktop/lxde'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap desktop/desktop-base desktop/lxde
+ local 'components=bootstrap desktop/desktop-base desktop/lxde'
+ '[' -n 'bootstrap desktop/desktop-base desktop/lxde' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ]
+ continue
+ component=desktop/desktop-base
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ eval 'DEPENDS="desktop"'
+ DEPENDS=desktop
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends desktop
+ local 'components=desktop'
+ '[' -n desktop ]
+ local component conf_file TARGET DEPENDS
+ component=desktop
+ '[' -z ]
+ continue
+ echo desktop/desktop-base
+ component=desktop/lxde
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ eval 'DEPENDS="desktop' 'desktop/dbus"'
+ DEPENDS='desktop desktop/dbus'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends desktop desktop/dbus
+ local 'components=desktop desktop/dbus'
+ '[' -n 'desktop desktop/dbus' ]
+ local component conf_file TARGET DEPENDS
+ component=desktop
+ '[' -z ]
+ continue
+ component=desktop/dbus
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ eval 'DEPENDS="extra"'
+ DEPENDS=extra
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends extra
+ local 'components=extra'
+ '[' -n extra ]
+ local component conf_file TARGET DEPENDS
+ component=extra
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/extra/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ eval 'DEPENDS="bootstrap"'
+ DEPENDS=bootstrap
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap
+ local 'components=bootstrap'
+ '[' -n bootstrap ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ]
+ continue
+ echo extra
+ echo desktop/dbus
+ echo desktop/lxde
+ echo desktop
+ component=extra/ssh
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/ssh '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf
+ eval 'DEPENDS="extra"'
+ DEPENDS=extra
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends extra
+ local 'components=extra'
+ '[' -n extra ]
+ local component conf_file TARGET DEPENDS
+ component=extra
+ '[' -z ]
+ continue
+ echo extra/ssh
+ component=graphics
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/ssh ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/ssh graphics '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ eval 'DEPENDS="bootstrap' 'graphics/${GRAPHICS}"'
+ DEPENDS='bootstrap graphics/vnc'
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends bootstrap graphics/vnc
+ local 'components=bootstrap graphics/vnc'
+ '[' -n 'bootstrap graphics/vnc' ]
+ local component conf_file TARGET DEPENDS
+ component=bootstrap
+ '[' -z ]
+ continue
+ component=graphics/vnc
+ '[' -z ' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/ssh graphics ' ]
+ IGNORE_DEPENDS=' bootstrap bootstrap/rootfs bootstrap/kalilinux core core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot desktop desktop/desktop-base desktop/lxde desktop/dbus extra extra/ssh graphics graphics/vnc '
+ conf_file=/data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf ]
+ grep -e '^TARGET=' -e '^DEPENDS=' /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ eval 'DEPENDS="graphics"'
+ DEPENDS=graphics
+ '[' false '!=' true ]
+ component_is_compatible
+ local 'target='
+ '[' -n ]
+ return 0
+ '[' false '=' true ]
+ component_depends graphics
+ local 'components=graphics'
+ '[' -n graphics ]
+ local component conf_file TARGET DEPENDS
+ component=graphics
+ '[' -z ]
+ continue
+ echo graphics/vnc
+ echo graphics
+ components='bootstrap/rootfs
bootstrap/kalilinux
core/emulator
core/motd
core/hosts
core/hostname
core/mnt
core/net
core/timezone
core/su
core/locale
core/aid
core/profile
core/sudo
core/unchroot
core
bootstrap
desktop/desktop-base
extra
desktop/dbus
desktop/lxde
desktop
extra/ssh
graphics/vnc
graphics'
+ '[' -n 'bootstrap/rootfs
bootstrap/kalilinux
core/emulator
core/motd
core/hosts
core/hostname
core/mnt
core/net
core/timezone
core/su
core/locale
core/aid
core/profile
core/sudo
core/unchroot
core
bootstrap
desktop/desktop-base
extra
desktop/dbus
desktop/lxde
desktop
extra/ssh
graphics/vnc
graphics' ]
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.conf
+ NAME=rootfs
+ DESC='Prepare and import RootFS'
+ PARAMS='SOURCE_PATH TARGET_PATH'
+ EXTENDS=bootstrap/kalilinux
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.sh
+ '[' -n kali-rolling ]
+ '[' -z armhf ]
+ '[' -n
http://kali.org/kali/ ]
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/rootfs/deploy.sh
+ '[' -n file ]
+ '[' -n ext4 ]
+ '[' -n 0 ]
+ component_is_exclude bootstrap/rootfs
+ local 'component=bootstrap/rootfs'
+ '[' -n bootstrap/rootfs ]
+ return 1
+ '[' false '!=' true ]
+ params_check SOURCE_PATH TARGET_PATH
+ local 'params_list=SOURCE_PATH TARGET_PATH'
+ local key val params_lost
+ eval 'val=$SOURCE_PATH'
+ val=
http://kali.org/kali/+ '[' -z
http://kali.org/kali/ ]## bootstrap/rootfs : do_start
## bootstrap/kalilinux : do_start
+ eval 'val=$TARGET_PATH'
+ val=/storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img
+ '[' -z /storage/01D4D0C7A8162580/OS/kalilinux.FULL.ext4.v2.img ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## bootstrap/rootfs : do_start'
+ echo '## bootstrap/rootfs : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.conf
+ NAME=kalilinux
+ DESC='Bootstrap for Kali Linux'
+ EXTENDS=bootstrap/debian
+ DEPENDS=bootstrap
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/debian/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/debian/deploy.sh
+ '[' -n kali-rolling ]
+ '[' -z armhf ]
+ '[' -n
http://kali.org/kali/ ]
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/kalilinux/deploy.sh
+ '[' -n kali-rolling ]
+ '[' -z armhf ]
+ '[' -n
http://kali.org/kali/ ]
+ component_is_exclude bootstrap/kalilinux
+ local 'component=bootstrap/kalilinux'
+ '[' -n bootstrap/kalilinux ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## bootstrap/kalilinux : do_start'
+ echo '## bootstrap/kalilinux : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.conf
+ NAME=emulator
+ DESC='CPU emulation'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/emulator/deploy.sh
+ '[' -n ]
+ get_qemu armhf
+ local 'arch=armhf'
+ local 'qemu='
+ get_platform
+ local 'arch='
+ '[' -z ]
+ uname -m
+ arch=armv7l
+ echo arm
+ local 'host_platform=arm'
## core/emulator : do_start
## core/motd : do_start
## core/hosts : do_start
## core/hostname : do_start
## core/mnt : do_start
:: Configuring core/mnt ...
+ get_platform armhf
+ local 'arch=armhf'
+ '[' -z armhf ]
+ echo arm
+ local 'guest_platform=arm'
+ '[' arm '!=' arm ]
+ echo
+ EMULATOR=
+ component_is_exclude core/emulator
+ local 'component=core/emulator'
+ '[' -n core/emulator ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/emulator : do_start'
+ echo '## core/emulator : do_start'
+ set +e
+ eval do_start
+ do_start
+ '[' -n -a chroot '=' chroot ]
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/motd
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/motd ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/motd/deploy.conf
+ NAME=motd
+ DESC='Message after a successful login'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/motd/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/motd/deploy.sh
+ component_is_exclude core/motd
+ local 'component=core/motd'
+ '[' -n core/motd ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/motd : do_start'
+ echo '## core/motd : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.conf
+ NAME=hosts
+ DESC='Hosts file'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/hosts/deploy.sh
+ component_is_exclude core/hosts
+ local 'component=core/hosts'
+ '[' -n core/hosts ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/hosts : do_start'
+ echo '## core/hosts : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.conf
+ NAME=hostname
+ DESC=Hostname
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/hostname/deploy.sh
+ component_is_exclude core/hostname
+ local 'component=core/hostname'
+ '[' -n core/hostname ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/hostname : do_start'
+ echo '## core/hostname : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.conf
+ NAME=mnt
+ DESC='Mount points configuration'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/mnt/deploy.sh
+ component_is_exclude core/mnt
+ local 'component=core/mnt'
+ '[' -n core/mnt ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/mnt : do_start'
+ echo '## core/mnt : do_start'
+ set +e
+ eval do_start
+ do_start
+ '[' chroot '=' chroot -a -n ]
+ do_configure
+ msg ':: Configuring core/mnt ... '
+ echo ':: Configuring core/mnt ... '
+ '[' chroot '=' proot ]
+ rm -f /data/local/mnt/etc/mtab
+ grep /data/local/mnt /proc/mounts
+ sed 's|/data/local/mnt/*|/|g'
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/net
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/net ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/net/deploy.conf
+ NAME=net
+ DESC='Network configuration'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/net/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/net/deploy.sh
+ '[' -n ]
+ DNS=auto
+ component_is_exclude core/net
+ local 'component=core/net'
+ '[' -n core/net ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/net : do_start'
+ echo## core/net : do_start
'## core/net : do_start'
+ set +e
+ eval do_start
+ do_start
+ do_configure
+ msg ':: Configuring core/net ... '
+ echo ':: Configuring core/net ... '
:: Configuring core/net ...
+ local dns dns_list
+ '[' -z auto -o auto '=' auto ]
+ which getprop
+ '[' -n /system/bin/getprop ]
+ getprop net.dns1
+ dns=193.41.60.15
+ '[' -n 193.41.60.15 ]
+ dns_list=193.41.60.15
+ getprop net.dns2
+ dns=193.41.60.16
+ '[' -n 193.41.60.16 ]
+ dns_list='193.41.60.15 193.41.60.16'
+ '[' -z '193.41.60.15 193.41.60.16' -a -e /etc/resolv.conf ]
+ '[' -z '193.41.60.15 193.41.60.16' ]
+ printf
+ echo 'nameserver 193.41.60.15'
+ echo 'nameserver 193.41.60.16'
+ '[' -e /data/local/mnt/etc/nsswitch.conf ]
+ sed -i s/systemd//g /data/local/mnt/etc/nsswitch.conf
+ return 0
+ '[' -n ]
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.conf
+ NAME=timezone
+ DESC='Time zone'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/timezone/deploy.sh
+ component_is_exclude core/timezone
+ local 'component=core/timezone'
+ '[' -n core/timezone ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
## core/timezone : do_start
+ msg '## core/timezone : do_start'
+ echo '## core/timezone : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/su
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/su ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/su/deploy.conf
+ NAME=su
+ DESC='SU command'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/su/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/su/deploy.sh
+ component_is_exclude core/su
+ local 'component=core/su'
+ '[' -n core/su ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
## core/su : do_start
+ msg '## core/su : do_start'
+ echo '## core/su : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/locale
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/locale ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/locale/deploy.conf
+ NAME=locale
+ DESC=Localization
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/locale/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/locale/deploy.sh
+ '[' -n ru_RU.UTF-8 ]
+ component_is_exclude core/locale
+ local 'component=core/locale'
+ '[' -n core/locale ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
## core/locale : do_start
+ '[' true '=' true ]
+ msg '## core/locale : do_start'
+ echo '## core/locale : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/aid
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/aid ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/aid/deploy.conf
+ NAME=aid
+ DESC='Android users and groups'
+ PARAMS=USER_NAME
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/aid/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/aid/deploy.sh
+ component_is_exclude core/aid
+ local 'component=core/aid'
+ '[' -n core/aid ]
+ return 1
+ '[' false '!=' true ]
+ params_check USER_NAME
+ local 'params_list=USER_NAME'
+ local key val params_lost
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/aid : do_start'
+ echo '## core/aid : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/profile
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/profile ]
## core/aid : do_start
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/profile/deploy.conf
+ NAME=profile
+ DESC='User and its environment'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/profile/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/profile/deploy.sh
+ '[' -n android ]
+ '[' -n andrey ]
+ component_is_exclude core/profile
+ local 'component=core/profile'
+ '[' -n core/profile ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
## core/profile : do_start
## core/sudo : do_start
## core/unchroot : do_start
+ '[' true '=' true ]
+ msg '## core/profile : do_start'
+ echo '## core/profile : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.conf
+ NAME=sudo
+ DESC='Sudoers file'
+ PARAMS=USER_NAME
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/sudo/deploy.sh
+ component_is_exclude core/sudo
+ local 'component=core/sudo'
+ '[' -n core/sudo ]
+ return 1
+ '[' false '!=' true ]
+ params_check USER_NAME
+ local 'params_list=USER_NAME'
+ local key val params_lost
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/sudo : do_start'
+ echo '## core/sudo : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.conf
+ NAME=unchroot
+ DESC='Break chroot'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/unchroot/deploy.sh
+ component_is_exclude core/unchroot
+ local 'component=core/unchroot'
+ '[' -n core/unchroot ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core/unchroot : do_start'
+ echo '## core/unchroot : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/core
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/core ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/deploy.conf
+ NAME=core
+ DESC='Core components'
+ DEPENDS='core/emulator core/motd core/hosts core/hostname core/mnt core/net core/timezone core/su core/locale core/aid core/profile core/sudo core/unchroot'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/core/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/core/deploy.sh
+ component_is_exclude core
+ local 'component=core'
+ '[' -n core ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## core : do_start'
+ echo '## core : do_start'
## core : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.conf
+ NAME=bootstrap
+ DESC='Installer of Linux distibution'
## bootstrap : do_start
## desktop/desktop-base : do_start
## extra : do_start
+ DEPENDS='bootstrap/rootfs bootstrap/kalilinux core'
+ PARAMS=DISTRIB
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/bootstrap/deploy.sh
+ DISTRIB=kalilinux
+ component_is_exclude bootstrap
+ local 'component=bootstrap'
+ '[' -n bootstrap ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB
+ local 'params_list=DISTRIB'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=kalilinux
+ '[' -z kalilinux ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## bootstrap : do_start'
+ echo '## bootstrap : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.conf
+ NAME=desktop-base
+ DESC='Common configuration for desktop environment'
+ PARAMS=USER_NAME
+ DEPENDS=desktop
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/desktop-base/deploy.sh
+ component_is_exclude desktop/desktop-base
+ local 'component=desktop/desktop-base'
+ '[' -n desktop/desktop-base ]
+ return 1
+ '[' false '!=' true ]
+ params_check USER_NAME
+ local 'params_list=USER_NAME'
+ local key val params_lost
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop/desktop-base : do_start'
+ echo '## desktop/desktop-base : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/extra
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/extra ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/extra/deploy.conf
+ NAME=extra
+ DESC='Extra applications'
+ DEPENDS=bootstrap
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/extra/deploy.sh ]
+ component_is_exclude extra
+ local 'component=extra'
+ '[' -n extra ]
+ return 1
+ '[' false '!=' true ]
+ params_check
+ local 'params_list='
+ local key val params_lost
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## extra : do_start'
+ echo '## extra : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.conf
+ NAME=dbus
+ DESC='DBus daemon'
+ PARAMS=DISTRIB
+ DEPENDS=extra
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/dbus/deploy.sh
+ component_is_exclude desktop/dbus
+ local 'component=desktop/dbus'
+ '[' -n desktop/dbus ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB
+ local 'params_list=DISTRIB'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=kalilinux
+ '[' -z kalilinux ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop/dbus : do_start'
+ echo## desktop/dbus : do_start
'## desktop/dbus : do_start'
+ set +e
+ eval do_start
+ do_start
+ msg -n ':: Starting desktop/dbus ... '
+ echo -n:: Starting desktop/dbus ... ':: Starting desktop/dbus ... '
+ is_stopped /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ is_started /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ get_pids /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ local pid pidfile pids
+ pidfile=/data/local/mnt/run/dbus/pid
+ '[' -e /data/local/mnt/run/dbus/pid ]
+ '[' -e /proc//run/dbus/pid ]
+ pidfile=/data/local/mnt/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/run/dbus/messagebus.pid ]
+ '[' -e /proc//run/dbus/messagebus.pid ]
+ pidfile=/data/local/mnt/run/messagebus.pid
+ '[' -e /data/local/mnt/run/messagebus.pid ]
+ '[' -e /proc//run/messagebus.pid ]
+ pidfile=/data/local/mnt/var/run/dbus/pid
+ '[' -e /data/local/mnt/var/run/dbus/pid ]
+ '[' -e /proc//var/run/dbus/pid ]
+ pidfile=/data/local/mnt/var/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/var/run/dbus/messagebus.pid ]
+ '[' -e /proc//var/run/dbus/messagebus.pid ]
+ pidfile=/data/local/mnt/var/run/messagebus.pid
+ '[' -e /data/local/mnt/var/run/messagebus.pid ]
+ '[' -e /proc//var/run/messagebus.pid ]
+ '[' -n ]
+ return 1
+ test 1 -ne 0
+ is_ok skip
+ '[' 0 -eq 0 ]
+ '[' -n ]
+ return 0
+ remove_files /run/dbus/pid /run/dbus/messagebus.pid /run/messagebus.pid /var/run/dbus/pid /var/run/dbus/messagebus.pid /var/run/messagebus.pid
+ local item target
+ target=/data/local/mnt/run/dbus/pid
+ '[' -e /data/local/mnt/run/dbus/pid ]
+ target=/data/local/mnt/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/run/dbus/messagebus.pid ]
+ target=/data/local/mnt/run/messagebus.pid
+ '[' -e /data/local/mnt/run/messagebus.pid ]
+ target=/data/local/mnt/var/run/dbus/pid
+ '[' -e /data/local/mnt/var/run/dbus/pid ]
+ target=/data/local/mnt/var/run/dbus/messagebus.pid
+ '[' -e /data/local/mnt/var/run/dbus/messagebus.pid ]
+ target=/data/local/mnt/var/run/messagebus.pid
+ '[' -e /data/local/mnt/var/run/messagebus.pid ]
+ return 0
+ chroot_exec -u root dbus-daemon --system --fork
+ unset TMP TEMP TMPDIR LD_PRELOAD LD_DEBUG
+ local 'path=/data/user/0/ru.meefik.linuxdeploy/files/bin:/data/user/0/ru.meefik.linuxdeploy/files/bin:/su/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/su/xbin:/system/xbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ '[' -u '=' -u ]
+ local 'username=root'
+ shift 2
+ '[' -n root ]
+ '[' 3 -gt 0 ]
+ chroot /data/local/mnt /bin/su - root -c 'dbus-daemon --system --fork'
/etc/profile: line 4: id: command not found
/etc/profile: line 4: [: : integer expression expected
/etc/profile.d/sudo.sh: line 1: whoami: command not found
/root/.profile: line 9: mesg: command not found
-su: dbus-daemon: command not found
+ is_ok fail 'done'
+ '[' 127 -eq 0 ]
+ '[' -n fail ]
+ msg fail
+ echo failfail
+ return 1
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.conf
+ NAME=lxde
+ DESC='Lightweight X11 Desktop Environment'
+ PARAMS='DISTRIB USER_NAME'
+ DEPENDS='desktop desktop/dbus'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/lxde/deploy.sh
+ component_is_exclude desktop/lxde
+ local 'component=desktop/lxde'
+ '[' -n desktop/lxde ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB USER_NAME
+ local 'params_list=DISTRIB USER_NAME'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=kalilinux
+ '[' -z kalilinux ]
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
## desktop/lxde : do_start
+ msg '## desktop/lxde : do_start'
+ echo '## desktop/lxde : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/desktop
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/desktop ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/deploy.conf
+ NAME=desktop
+ DESC='Desktop environment'
+ PARAMS=DESKTOP
+ DEPENDS='bootstrap desktop/desktop-base desktop/lxde'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/desktop/deploy.sh
+ DESKTOP=lxde
+ component_is_exclude desktop
+ local 'component=desktop'
+ '[' -n desktop ]
+ return 1
+ '[' false '!=' true ]
+ params_check DESKTOP
+ local 'params_list=DESKTOP'
+ local key val params_lost
+ eval 'val=$DESKTOP'
+ val=lxde
+ '[' -z lxde ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## desktop : do_start'
+ echo '## desktop : do_start'
## desktop : do_start
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.conf
+ NAME=ssh
+ DESC='Secure shell (SSH) server'
+ PARAMS=DISTRIB
+ DEPENDS=extra
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/extra/ssh/deploy.sh
+ '[' -n 22 ]
+ component_is_exclude extra/ssh
+ local 'component=extra/ssh'
+ '[' -n extra/ssh ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB
+ local 'params_list=DISTRIB'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=kalilinux
+ '[' -z kalilinux ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## extra/ssh : do_start'
## extra/ssh : do_start
+ echo '## extra/ssh : do_start'
+ set +e
+ eval do_start
+ do_start
+ msg -n ':: Starting extra/ssh ... '
+ echo -n ':: Starting extra/ssh ... '
:: Starting extra/ssh ... + is_stopped /var/run/sshd.pid /run/sshd.pid
+ is_started /var/run/sshd.pid /run/sshd.pid
+ get_pids /var/run/sshd.pid /run/sshd.pid
+ local pid pidfile pids
+ pidfile=/data/local/mnt/var/run/sshd.pid
+ '[' -e /data/local/mnt/var/run/sshd.pid ]
+ '[' -e /proc//var/run/sshd.pid ]
+ pidfile=/data/local/mnt/run/sshd.pid
+ '[' -e /data/local/mnt/run/sshd.pid ]
+ cat /data/local/mnt/run/sshd.pid
+ pid=32209
+ '[' -e /proc/32209 ]
+ '[' -n ]
+ return 1
+ test 1 -ne 0
+ is_ok skip
+ '[' 0 -eq 0 ]
+ '[' -n ]
+ return 0
+ make_dirs /run/sshd /var/run/sshd
+ local item target
+ target=/data/local/mnt/run/sshd
+ '[' -d /data/local/mnt/run -a '!' -d /data/local/mnt/run/sshd ]
+ target=/data/local/mnt/var/run/sshd
+ '[' -d /data/local/mnt/var/run -a '!' -d /data/local/mnt/var/run/sshd ]
+ return 0
+ grep -c key
+ ls /data/local/mnt/etc/ssh/
+ '[' 6 -eq 0 ]
+ '[' chroot '=' proot ]
+ chroot_exec -u root /usr/sbin/sshd -p 22
+ unset TMP TEMP TMPDIR LD_PRELOAD LD_DEBUG
+ local 'path=/data/user/0/ru.meefik.linuxdeploy/files/bin:/data/user/0/ru.meefik.linuxdeploy/files/bin:/su/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/su/xbin:/system/xbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ '[' -u '=' -u ]
+ local 'username=root'
+ shift 2
+ '[' -n root ]
+ '[' 3 -gt 0 ]
+ chroot /data/local/mnt /bin/su - root -c '/usr/sbin/sshd -p 22'
/etc/profile: line 4: id: command not found
/etc/profile: line 4: [: : integer expression expected
/etc/profile.d/sudo.sh: line 1: whoami: command not found
/root/.profile: line 9: mesg: command not found
-su: /usr/sbin/sshd: Input/output error
+ is_ok fail 'done'
+ '[' 126 -eq 0 ]
+ '[' -n fail ]
+ msg fail
+ echofail
fail
+ return 1
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.conf
+ NAME=vnc
+ DESC='Virtual network computing (VNC) server'
+ PARAMS='DISTRIB USER_NAME'
+ DEPENDS=graphics
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/vnc/deploy.sh
+ '[' -n andrey ]
+ '[' -n 0 ]
+ '[' -n 16 ]
+ '[' -n 75 ]
+ '[' -n 1280 ]
+ '[' -n 720 ]
+ component_is_exclude graphics/vnc
+ local 'component=graphics/vnc'
+ '[' -n graphics/vnc ]
+ return 1
+ '[' false '!=' true ]
+ params_check DISTRIB USER_NAME
+ local 'params_list=DISTRIB USER_NAME'
+ local key val params_lost
+ eval 'val=$DISTRIB'
+ val=kalilinux
+ '[' -z kalilinux ]
+ eval 'val=$USER_NAME'
+ val=android
+ '[' -z android ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## graphics/vnc : do_start'
+ echo '## graphics/vnc : do_start'
## graphics/vnc : do_start
+ set +e
+ eval do_start
+ do_start
+ msg -n ':: Starting graphics/vnc ... '
+ echo -n ':: Starting graphics/vnc ... '
:: Starting graphics/vnc ... + is_stopped /tmp/xsession.pid
+ is_started /tmp/xsession.pid
+ get_pids /tmp/xsession.pid
+ local pid pidfile pids
+ pidfile=/data/local/mnt/tmp/xsession.pid
+ '[' -e /data/local/mnt/tmp/xsession.pid ]
+ cat /data/local/mnt/tmp/xsession.pid
+ pid=32243
+ '[' -e /proc/32243 ]
+ '[' -n ]
+ return 1
+ test 1 -ne 0
+ is_ok skip
+ '[' 0 -eq 0 ]
+ '[' -n ]
+ return 0
+ remove_files /tmp/.X0-lock /tmp/.X11-unix/X0
+ local item target
+ target=/data/local/mnt/tmp/.X0-lock
+ '[' -e /data/local/mnt/tmp/.X0-lock ]
+ target=/data/local/mnt/tmp/.X11-unix/X0
+ '[' -e /data/local/mnt/tmp/.X11-unix/X0 ]
+ return 0
+ chroot_exec -u android vncserver :0 -depth 16 -dpi 75 -geometry 1280x720
+ unset TMP TEMP TMPDIR LD_PRELOAD LD_DEBUG
+ local 'path=/data/user/0/ru.meefik.linuxdeploy/files/bin:/data/user/0/ru.meefik.linuxdeploy/files/bin:/su/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/su/xbin:/system/xbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ '[' -u '=' -u ]
+ local 'username=android'
+ shift 2
+ '[' -n android ]
+ '[' 8 -gt 0 ]
+ chroot /data/local/mnt /bin/su - android -c 'vncserver :0 -depth 16 -dpi 75 -geometry 1280x720'
/etc/profile: line 4: id: command not found
/etc/profile: line 4: [: : integer expression expected
/etc/profile.d/sudo.sh: line 1: whoami: command not found
-su: vncserver: command not found
+ is_ok fail 'done'
+ '[' 127 -eq 0 ]
+ '[' -n fail ]
+ msg fail
+ fail
echo fail
+ return 1
+ return 0
+ set -e
+ COMPONENT_DIR=/data/user/0/ru.meefik.linuxdeploy/files/include/graphics
+ '[' -d /data/user/0/ru.meefik.linuxdeploy/files/include/graphics ]
+ unset NAME DESC TARGET PARAMS DEPENDS EXTENDS
+ TARGET='*:*:*'
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/deploy.conf
+ NAME=graphics
+ DESC='Graphics subsystem'
+ PARAMS=GRAPHICS
+ DEPENDS='bootstrap graphics/vnc'
+ '[' -e /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/deploy.sh ]
+ . /data/user/0/ru.meefik.linuxdeploy/files/include/graphics/deploy.sh
+ GRAPHICS=vnc
+ component_is_exclude graphics
+ local 'component=graphics'
+ '[' -n graphics ]
+ return 1
+ '[' false '!=' true ]
+ params_check GRAPHICS
+ local 'params_list=GRAPHICS'
+ local key val params_lost
## graphics : do_start
+ eval 'val=$GRAPHICS'
+ val=vnc
+ '[' -z vnc ]
+ '[' -n ]
+ return 0
+ '[' true '=' true ]
+ msg '## graphics : do_start'
+ echo '## graphics : do_start'
+ set +e
+ eval do_start
+ do_start
+ return 0
+ set -e
+ exit 0
+ is_ok
+ '[' 0 -eq 0 ]
+ '[' -n ]
+ return 0
+ printf $'<<< start\n'
<<< start
+ exit 0