File: build.sh

package info (click to toggle)
fwupd 2.0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,340 kB
  • sloc: ansic: 274,440; python: 11,468; xml: 9,432; sh: 1,625; makefile: 167; cpp: 19; asm: 11; javascript: 9
file content (14 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

appstream-util validate-relax com.Vbe.Board.metainfo.xml

#dd if=/dev/zero of=update.bin bs=1M count=1
mkimage -D "-p 0x100" -n "v1.2.4" -O U-Boot -A arm64 -C none -T firmware -f auto -d update.bin firmware.fit
fdtput firmware.fit -t s /configurations/conf-1 version "1.2.4"

# Make the data external, now that we have finished fiddling with the FDT
mkimage -E -F firmware.fit

fwupdtool build-cabinet Vbe-Board-1.2.4.cab firmware.fit com.Vbe.Board.metainfo.xml