update/release: insert fake x201 me.bin

this makes the build work, for releases.

this is not done during regular builds, only releases.

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-31 20:13:35 +00:00
parent 1306c9d2e3
commit 42fde8e574
1 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,12 @@ fetch_trees()
mkrom_images()
{
# fake me.bin to make x201 roms build
mkdir -p "vendorfiles/cache/" || \
err "mkvdir: !mkdir -p \"vendorfiles/cache/\""
dd if=/dev/zero of="vendorfiles/cache/x201_factory.rom" \
bs=68k count=1 || err "mkvdir: can't make fake x201_factory.rom"
./build roms all || err "${_xm}: roms-all"
./build serprog rp2040 || err "${_xm}: rp2040"
./build serprog stm32 || err "${_xm}: stm32"