1
0
Fork 0

Do not include date to image file name

This commit is contained in:
Braiden Vasco 2017-09-26 08:34:59 +00:00
parent d9aa8945a8
commit 04039bff96
2 changed files with 2 additions and 4 deletions

View file

@ -38,7 +38,7 @@ Run `sudo ./run ./build.sh && sudo ./run ./mkimg.sh` to build the image.
The following files will be created:
* `rootfs/` - the root file system (`/` and `/boot/` partitions)
* `deploy/BarnacleOS-YYYY-MM-DD.img` - the image to write to SD card
* `deploy/BarnacleOS.img` - the image to write to SD card

4
run
View file

@ -13,9 +13,7 @@ export ROOTFS_DIR="$BASE_DIR/rootfs"
export KEYS_DIR="$BASE_DIR/keys"
export FILES_DIR="$BASE_DIR/files"
export IMG_DATE="$(date +%Y-%m-%d)"
export IMG_FILE="$DEPLOY_DIR/$IMG_NAME-${IMG_DATE}.img"
export IMG_FILE="$DEPLOY_DIR/$IMG_NAME.img"
cd "$BASE_DIR"