Merge "Allow ramdisk-create to run without $USER set"

This commit is contained in:
Jenkins 2016-09-23 06:46:31 +00:00 committed by Gerrit Code Review
commit e84488cad1

View File

@ -11,6 +11,8 @@ set -o pipefail
[ -n "$TARGET_ROOT" ] [ -n "$TARGET_ROOT" ]
USER=${USER:-$(whoami)}
source $_LIB/img-functions source $_LIB/img-functions
IMAGE_PATH=$(readlink -f $IMAGE_NAME) IMAGE_PATH=$(readlink -f $IMAGE_NAME)