mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: don't leak .raw image if failure before move; show rootfs-tmpfs info
- add escapings and TODO's around the area...
This commit is contained in:
@@ -100,7 +100,7 @@ create_image_from_sdcard_rootfs() {
|
||||
mkdir -p "${DESTIMG}"
|
||||
# @TODO: misterious cwd, who sets it?
|
||||
|
||||
mv "${SDCARD}.raw" "${DESTIMG}/${version}.img"
|
||||
run_host_command_logged mv -v "${SDCARD}.raw" "${DESTIMG}/${version}.img"
|
||||
|
||||
# custom post_build_image_modify hook to run before fingerprinting and compression
|
||||
[[ $(type -t post_build_image_modify) == function ]] && display_alert "Custom Hook Detected" "post_build_image_modify" "info" && post_build_image_modify "${DESTIMG}/${version}.img"
|
||||
|
||||
Reference in New Issue
Block a user