Commit 46479e29 authored by fuyanbin's avatar fuyanbin
Browse files

fix: parameter.txt文件路径

parent 5d1f6a40
......@@ -436,7 +436,7 @@ pack_image() {
cp -f "$update_img_tmp_dir/update.img.dump/parameter.txt" "$update_img_tmp_dir/update.img.dump/Image/parameter.txt"
afptool -pack "$update_img_tmp_dir" "$update_img_tmp_dir/update.img"
local chip_parameter
chip_parameter="$(__get_chip_from_parameter "${update_img_tmp_dir}/parameter.txt")"
chip_parameter="$(__get_chip_from_parameter "${update_img_tmp_dir}/update.img.dump/parameter.txt")"
# e.g. rkImageMaker -RK322H output/MiniLoaderAll.bin output/Image/update.img update.img -os_type:androidos
rkImageMaker "-${chip_parameter}" -os_type:androidos \
"$update_img_tmp_dir/MiniLoaderAll.bin" "$update_img_tmp_dir/update.img" "$outfile_path"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment