Merge "Allow ramdisk-create to run without $USER set"
This commit is contained in:
commit
e84488cad1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user