File: sign_firmware.sh

package info (click to toggle)
ckb-next 0.5.0%2Bdfsg.1-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,292 kB
  • sloc: cpp: 17,632; ansic: 12,820; sh: 221; xml: 121; python: 53; makefile: 9
file content (4 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download | duplicates (4)
1
2
3
4
#!/usr/bin/env bash
N=$'\n'
FW="# Do not manually modify this file.${N}# Edit FIRMWARE.unsigned instead, and call ./scripts/sign_firmware.sh from the root directory of the repo${N}#${N}$(cat FIRMWARE.unsigned)"
echo -n "$FW" | gpg2 --clearsign -o FIRMWARE -u dev@ckb-next.org --batch --yes