Fix the image name to not contain "difficult" chars
This commit is contained in:
parent
a760f4e118
commit
57d7e54b8e
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -12,7 +12,7 @@ read -p "Username: " TGT_USERNAME
|
||||||
TGT_PASSWORD='$6$2b3uuej5$fIOp13FK5BnkDo5hX7hP8bmsGeKk9cXl.FAtZ6Ti/3W4dZp4GAY1ZbD2D8jygK5Z7mCnsjGp9uzsIEBRITvO50'
|
TGT_PASSWORD='$6$2b3uuej5$fIOp13FK5BnkDo5hX7hP8bmsGeKk9cXl.FAtZ6Ti/3W4dZp4GAY1ZbD2D8jygK5Z7mCnsjGp9uzsIEBRITvO50'
|
||||||
|
|
||||||
BASEDIR=$(mktemp -d -p .)
|
BASEDIR=$(mktemp -d -p .)
|
||||||
IMAGEFILE="${BASEDIR}/image-$(date +'%y-%m-%d_%H:%M').raw"
|
IMAGEFILE="${BASEDIR}/image-$(date +'%y-%m-%d_%H_%M').raw"
|
||||||
MOUNTDIR="${BASEDIR}/mnt"
|
MOUNTDIR="${BASEDIR}/mnt"
|
||||||
KERNELDIR="${BASEDIR}/kernel"
|
KERNELDIR="${BASEDIR}/kernel"
|
||||||
|
|
||||||
|
|
Reference in a new issue