diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-02 10:56:14 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 12:18:22 +0100 |
commit | 248bb2681c480fdd8ce38d0c5f5423e5e5b0d83f (patch) | |
tree | ca08269b7e52ee8ce62eeeb80dc3ac62c7ece10c | |
parent | 210aa3a6c250aefe4d6e2cd95f1f6b86e2993c97 (diff) |
mk: Download vendorfiles before building release
Do it just after creating the src archive. This way,
everything is downloaded all at once.
Otherwise, a momentary lapse of internet uptime will
cause a release build to fail later on, and one of
lbmk's flaws is that this would then mean you must
re-build from scratch.
If we assume that the internet is working within a
short period of time, then this change would mitigate
that possibility. If something did happen during tar
archive creation, that's a much shorter amount of time
that is "wasted".
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -85,6 +85,7 @@ build_release() touch "$srcdir/lock" || $err "can't make lock file in $srcdir/" ( cd "$srcdir" || $err "$vdir: 2 !cd \"$srcdir\"" + x_ ./mk -d coreboot mk -b coreboot pico-serprog stm32-vserprog pcsx-redux x_ mv bin ../roms ) || $err "can't build rom images" |