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
3f3cde16
Commit
3f3cde16
authored
Sep 06, 2024
by
fuyanbin
Browse files
rockchip 的super文件名是 super.img
parent
a169eecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
3f3cde16
...
...
@@ -141,8 +141,6 @@ resize_system_image() {
__unpack_super_img
()
{
local
system_partition_name
=
"
$1
"
super_file
=
"
$update_img_tmp_dir
/update.img.dump/super.fex"
super_file_ext4
=
"
$update_img_tmp_dir
/update.img.dump/super.fex.ext4"
if
file
"
$super_file
"
|
grep
"Android sparse image"
then
...
...
@@ -184,6 +182,8 @@ unpack_and_mount_image() {
imgrepacker /skip
"
$update_img_tmp_dir
/update.img"
rm
-f
"
$update_img_tmp_dir
/update.img"
super_file
=
"
$update_img_tmp_dir
/update.img.dump/super.fex"
super_file_ext4
=
"
$update_img_tmp_dir
/update.img.dump/super.fex.ext4"
__unpack_super_img
"
$ALLWINNER_DEFAULT_SYSTEM_PARTITION_NAME
"
else
echo
"Rockchip Format Detected.."
...
...
@@ -196,6 +196,8 @@ unpack_and_mount_image() {
rm
-f
"
$update_img_tmp_dir
/update.img.dump/firmware.img"
rm
-f
"
$update_img_tmp_dir
/update.img.dump/boot.bin"
super_file
=
"
$update_img_tmp_dir
/update.img.dump/super.img"
super_file_ext4
=
"
$update_img_tmp_dir
/update.img.dump/super.img.ext4"
__unpack_super_img
"
$ROCKCHIP_DEFAULT_SYSTEM_PARTITION_NAME
"
fi
...
...
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