diff options
| author | JF <jf@codingfield.com> | 2020-09-08 20:15:10 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-09-08 20:15:10 (GMT) |
| commit | d757344f1b6921d84a9b3d6d42b5e0f5a472813a (patch) | |
| tree | 53cb99261f02908fbfc08b6f4aba99e9b1782e79 /docker | |
| parent | 4e8e52bf6e107c295c9bdb46623d4dd869aff8ae (diff) | |
Docker post build : generate post build script with versions from the CMake project.
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/post_build.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/post_build.sh.in b/docker/post_build.sh.in index f5bf32f..4db8d17 100755 --- a/docker/post_build.sh.in +++ b/docker/post_build.sh.in @@ -4,8 +4,8 @@ export LANG=C.UTF-8 set -x mkdir -p /sources/build/output -/opt/mcuboot/scripts/imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header /sources/build/src/pinetime-mcuboot-app-0.8.0.bin /sources/build/output/image-0.8.0.bin -adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application /sources/build/output/image-0.8.0.bin /sources/build/output/dfu-0.8.0.zip +/opt/mcuboot/scripts/imgtool.py create --align 4 --version 1.0.0 --header-size 32 --slot-size 475136 --pad-header /sources/build/src/pinetime-mcuboot-app-@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@.bin /sources/build/output/image-@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@.bin +adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application /sources/build/output/image-@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@.bin /sources/build/output/dfu-@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@.zip cp /sources/build/src/*.bin /sources/build/output/ cp /sources/build/src/*.hex /sources/build/output/ |
