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>audit2-merge1
parent
dd2854b3e8
commit
f43525d14f
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue