Home | History | Annotate | Download | only in scripts

Lines Matching refs:part_file

403   local part part_file temp_raw filesize
405 part_file=$(create_tempfile "${part}.img.XXXXXX")
406 CLEANUP_FILES+=("${part_file}")
407 unzip -p "${image}" "IMAGES/${part}.img" >"${part_file}"
411 local magic=$(head --bytes=4 "${part_file}" | hexdump -e '1/1 "%.2x"')
416 simg2img "${part_file}" "${temp_raw}"
417 # At this point, we can drop the contents of the old part_file file, but
419 true >"${part_file}"
420 part_file="${temp_raw}"
427 filesize=$(stat -c%s "${part_file}")
436 truncate_file "${part_file}" "${filesize}"
439 eval "${partitions_array}[\"${part}\"]=\"${part_file}\""