Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
b3edffd3
Commit
b3edffd3
authored
Sep 06, 2024
by
fuyanbin
Browse files
workround: afptool 工具好像有路径读取问题
parent
ea1de4f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
b3edffd3
...
...
@@ -191,7 +191,10 @@ unpack_and_mount_image() {
cp
"
$img
"
"
$update_img_tmp_dir
/update.img"
mkdir
-p
"
$update_img_tmp_dir
/update.img.dump"
rkImageMaker
-unpack
"
$update_img_tmp_dir
/update.img"
"
$update_img_tmp_dir
/update.img.dump"
afptool
-unpack
"
$update_img_tmp_dir
/update.img.dump/firmware.img"
"
$update_img_tmp_dir
/update.img.dump"
# workround: afptool 工具好像有路径读取问题
pushd
"
$update_img_tmp_dir
"
afptool
-unpack
"./update.img.dump/firmware.img"
"./update.img.dump"
popd
rm
-f
"
$update_img_tmp_dir
/update.img"
rm
-f
"
$update_img_tmp_dir
/update.img.dump/firmware.img"
rm
-f
"
$update_img_tmp_dir
/update.img.dump/boot.bin"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment