move build documentation to module
add parse command line parameters in configure.sh

add functions copy_truncate_rootfs