mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 04:22:15 +02:00
roms build_uboot_roms(): move rom, don't copy
that way, we don't have to delete the temporary file. just move it entirely. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -293,8 +293,7 @@ build_uboot_roms()
|
|||||||
newrom="$romdir/uboot_payload_${board}_${initmode}_$displaymode.rom"
|
newrom="$romdir/uboot_payload_${board}_${initmode}_$displaymode.rom"
|
||||||
x_ cp "$cbrom" "$tmprom"
|
x_ cp "$cbrom" "$tmprom"
|
||||||
cbfs "$tmprom" "$ubootelf" "fallback/payload"
|
cbfs "$tmprom" "$ubootelf" "fallback/payload"
|
||||||
x_ cprom cp "$tmprom" "$newrom"
|
x_ cprom mv "$tmprom" "$newrom"
|
||||||
x_ rm -f "$tmprom"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cprom()
|
cprom()
|
||||||
|
|||||||
Reference in New Issue
Block a user