mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 15:16:42 +00:00
9 lines
322 B
Bash
9 lines
322 B
Bash
|
#!/bin/bash
|
||
|
set -exuo pipefail
|
||
|
HEADS_GIT_VERSION=$(git describe --tags)
|
||
|
BOARD=$1
|
||
|
cd ./build/x86/${BOARD}/
|
||
|
sha256sum heads-${BOARD}-${HEADS_GIT_VERSION}.rom > sha256sum.txt
|
||
|
sed -ie 's@ @ /tmp/verified_rom/@g' sha256sum.txt
|
||
|
zip heads-${BOARD}-${HEADS_GIT_VERSION}.npf heads-${BOARD}-${HEADS_GIT_VERSION}.rom sha256sum.txt
|