Skip to content

Commit da6a271

Browse files
rctlinsomniacslk
authored andcommitted
Add vpd tooling to binaries
Signed-off-by: Rasmus Jönsson <[email protected]>
1 parent 1712851 commit da6a271

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ deploy:
2121
- build/kexec-tools/build/sbin/kexec
2222
- build/flashrom/flashrom
2323
- build/memtester/memtester
24+
- build/vpd/vpd
2425
skip_cleanup: true
2526
on:
2627
repo: systemboot/binaries

build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ OUTDIR="${BASEDIR}/build"
66
KEXEC_TOOLS_VERSION="tags/v2.0.17"
77
FLASHROM_VERSION="tags/v1.0"
88
MEMTESTER_VERSION=4.3.0
9+
VPD_VERSION="release-R74-11895.B"
910

1011
rm -rf "${OUTDIR}"
1112
mkdir -p "${OUTDIR}"
@@ -45,3 +46,13 @@ cd "memtester-${MEMTESTER_VERSION}"
4546
CFLAGS=-Os CC=musl-gcc make # build statically
4647
du -hs memtester
4748
ldd memtester
49+
50+
# build vpd
51+
cd "${OUTDIR}"
52+
git clone https://chromium.googlesource.com/chromiumos/platform/vpd
53+
cd vpd
54+
git checkout "${VPD_VERSION}"
55+
make
56+
strip vpd
57+
du -hs vpd
58+
ldd vpd

0 commit comments

Comments
 (0)