summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-31 20:13:35 +0000
committerLeah Rowe <leah@libreboot.org>2023-10-31 20:13:35 +0000
commit42fde8e5749752bed3eef641fb2ca5f8856262e9 (patch)
tree2a22f8c580c238ebc5aa9ef8a8341597ff976a30 /script
parent1306c9d2e36d1760ebb79020aec305bf5b4bc7ad (diff)
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>
Diffstat (limited to 'script')
-rwxr-xr-xscript/update/release6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/update/release b/script/update/release
index 3ee99c78..21fa8b61 100755
--- a/script/update/release
+++ b/script/update/release
@@ -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"