***Found the cause for the freeze****
I had some script line in my post-aplication installation script, once removed (or only one command left), it finshed the build.
Still weird.. that's the script i had before:
#!/bin/bash
# Un-comment the following lines for reducing the space occupied for the
# operating system by deleting potentially unneeded files. The script
# template is located at /opt/vmware/etc/footprint and should be used with
# appropriate verification.
#
# cut_files_wrapper=run_cut_files.sh
# cut_files_url=http://[VADK.localIP]/build/[VADK.buildID]/script/$cut_files_wrapper
# wget_err="/tmp/wget_err.log"
# wget_opt="-nH --cut-dirs=2 -nv"
# echo Download run_cut_files.sh
# wget $wget_opt -P /tmp $cut_files_url 2>$wget_err 1>/dev/null
# if [ $? -ne 0 ]; then
# errmsg=`cat $wget_err`
# echo Abort: $errmsg
# else
# echo Execute run_cut_files.sh
# chmod +x /tmp/$cut_files_wrapper
# /tmp/$cut_files_wrapper
# rm -f /tmp/$cut_files_wrapper $wget_err
# fi
tar -xvf ~/enforce.tar.gz -C /usr/local/share/ && source /usr/local/share/enforce/startup.sh
cd /usr/local/share/enforce/ && thin start
After (which worked):
tar -xvf ~/enforce.tar.gz -C /usr/local/share/