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
d3284341
Commit
d3284341
authored
Aug 12, 2024
by
fuyanbin
Browse files
system.img 加增加225M空间才够用
parent
29f0b474
Pipeline
#51941
passed with stages
in 8 seconds
Changes
1
Pipelines
4
Show whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
d3284341
...
@@ -127,7 +127,7 @@ resize_system_image() {
...
@@ -127,7 +127,7 @@ resize_system_image() {
local
loopdev
local
loopdev
image_size
=
"
$(
stat
-c
"%s"
"
$c_system_file
"
)
"
image_size
=
"
$(
stat
-c
"%s"
"
$c_system_file
"
)
"
image_size
=
$((
image_size+2
20200
960
))
# +2
10
M
image_size
=
$((
image_size+2
3592
960
0
))
# +2
25
M
qemu-img resize
-f
raw
"
$c_system_file
"
"
$image_size
"
qemu-img resize
-f
raw
"
$c_system_file
"
"
$image_size
"
loopdev
=
$(
losetup
-P
-f
--show
"
$c_system_file
"
)
loopdev
=
$(
losetup
-P
-f
--show
"
$c_system_file
"
)
...
...
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