From 6c40522291011bcfb43fc56d4125e3d4f5f29b95 Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Thu, 5 Mar 2015 22:09:30 +0100 Subject: [PATCH] Put firmware files in output/ and name them with the tag built --- firmware-docker-build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/firmware-docker-build.sh b/firmware-docker-build.sh index 11f7ba921b..d734404dbf 100755 --- a/firmware-docker-build.sh +++ b/firmware-docker-build.sh @@ -3,7 +3,7 @@ IMAGETAG=trezor-mcu-build FIRMWARETAG=${1:-master} docker build -t $IMAGETAG . -docker run -t -v $(pwd):/output $IMAGETAG /bin/sh -c "\ +docker run -t -v $(pwd)/output:/output $IMAGETAG /bin/sh -c "\ git clone https://github.com/trezor/trezor-mcu && \ cd trezor-mcu && \ git checkout $FIRMWARETAG && \ @@ -11,10 +11,9 @@ docker run -t -v $(pwd):/output $IMAGETAG /bin/sh -c "\ make && \ cd firmware && \ make && \ - cp trezor.bin /output \ - " + cp trezor.bin /output/trezor-$FIRMWARETAG.bin" echo "---------------------" echo "Firmware fingerprint:" -sha256sum trezor.bin +sha256sum output/trezor-$FIRMWARETAG.bin