Do not include date to image file name
This commit is contained in:
parent
d9aa8945a8
commit
04039bff96
2 changed files with 2 additions and 4 deletions
|
@ -38,7 +38,7 @@ Run `sudo ./run ./build.sh && sudo ./run ./mkimg.sh` to build the image.
|
||||||
The following files will be created:
|
The following files will be created:
|
||||||
|
|
||||||
* `rootfs/` - the root file system (`/` and `/boot/` partitions)
|
* `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
4
run
|
@ -13,9 +13,7 @@ export ROOTFS_DIR="$BASE_DIR/rootfs"
|
||||||
export KEYS_DIR="$BASE_DIR/keys"
|
export KEYS_DIR="$BASE_DIR/keys"
|
||||||
export FILES_DIR="$BASE_DIR/files"
|
export FILES_DIR="$BASE_DIR/files"
|
||||||
|
|
||||||
export IMG_DATE="$(date +%Y-%m-%d)"
|
export IMG_FILE="$DEPLOY_DIR/$IMG_NAME.img"
|
||||||
|
|
||||||
export IMG_FILE="$DEPLOY_DIR/$IMG_NAME-${IMG_DATE}.img"
|
|
||||||
|
|
||||||
cd "$BASE_DIR"
|
cd "$BASE_DIR"
|
||||||
|
|
||||||
|
|
Reference in a new issue