Skip to content

Commit 3eefdb9

Browse files
committed
Rename coreboot.rom to firmware.rom, easier to read path for usb basedir
1 parent 6050b3e commit 3eefdb9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rm -rf "${BUILD}"
2828
mkdir -p "${BUILD}"
2929

3030
UEFIPAYLOAD="${BUILD}/UEFIPAYLOAD.fd"
31-
COREBOOT="${BUILD}/coreboot.rom"
31+
COREBOOT="${BUILD}/firmware.rom"
3232
USB="${BUILD}/usb.img"
3333
EDK2_ARGS=(
3434
-D USE_HPET_TIMER=FALSE
@@ -91,8 +91,7 @@ fi
9191
if [ "${MODEL}" != "qemu" ]
9292
then
9393
# Rebuild firmware-update
94-
SHASUM="$(sha384sum "${COREBOOT}" | cut -d " " -f 1)"
95-
export BASEDIR="system76-${SHASUM}"
94+
export BASEDIR="system76_${MODEL}_${VERSION}"
9695
pushd apps/firmware-update >/dev/null
9796
rm -rf "build/x86_64-efi-pe"
9897
make "build/x86_64-efi-pe/boot.img"

0 commit comments

Comments
 (0)