mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
9 lines
322 B
Bash
Executable File
9 lines
322 B
Bash
Executable File
#!/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
|