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
4e8fa090
Commit
4e8fa090
authored
Nov 04, 2024
by
fuyanbin
Browse files
fix: imgrepacker 参数
parent
143afd2c
Pipeline
#60228
passed with stages
in 10 seconds
Changes
1
Pipelines
25
Show whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
4e8fa090
...
@@ -90,7 +90,7 @@ validate_partition_size_change() {
...
@@ -90,7 +90,7 @@ validate_partition_size_change() {
total_size
=
$((
total_size+size
))
total_size
=
$((
total_size+size
))
fi
fi
done
done
total_size
=
$((
total_size+
(
210
*
1024
*
1024
)
)
)
total_size
=
$((
total_size+
251658240
))
group_info_dump
=
$(
lpdump
-j
"
$c_super_file
"
| jq
-c
-r
'.groups[]'
)
group_info_dump
=
$(
lpdump
-j
"
$c_super_file
"
| jq
-c
-r
'.groups[]'
)
for
item
in
$group_info_dump
for
item
in
$group_info_dump
...
@@ -183,7 +183,7 @@ unpack_and_mount_image() {
...
@@ -183,7 +183,7 @@ unpack_and_mount_image() {
is_allwinner
=
1
is_allwinner
=
1
cp
"
$img
"
"
$update_img_tmp_dir
/update.img"
cp
"
$img
"
"
$update_img_tmp_dir
/update.img"
pushd
"
$update_img_tmp_dir
"
pushd
"
$update_img_tmp_dir
"
imgrepacker
/skip
./update.img
imgrepacker
unpack
./update.img
popd
popd
rm
-f
"
$update_img_tmp_dir
/update.img"
rm
-f
"
$update_img_tmp_dir
/update.img"
...
@@ -412,7 +412,7 @@ pack_image() {
...
@@ -412,7 +412,7 @@ pack_image() {
__pack_super_img
"
$ALLWINNER_DEFAULT_SYSTEM_PARTITION_NAME
"
__pack_super_img
"
$ALLWINNER_DEFAULT_SYSTEM_PARTITION_NAME
"
sleep
5
sleep
5
pushd
"
$update_img_tmp_dir
"
pushd
"
$update_img_tmp_dir
"
imgrepacker ./update.img.dump
imgrepacker
pack
./update.img.dump
popd
popd
mv
"
$update_img_tmp_dir
/update.img"
"
$outfile_path
"
mv
"
$update_img_tmp_dir
/update.img"
"
$outfile_path
"
elif
[[
"
$is_rockchip
"
==
"1"
]]
elif
[[
"
$is_rockchip
"
==
"1"
]]
...
...
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