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
a169eecc
Commit
a169eecc
authored
Sep 06, 2024
by
fuyanbin
Browse files
fix: system 分区空间不足
1. 有些文件不需要拷贝; 2. e2fsck 强制执行方法改正
parent
1df097a2
Changes
1
Show whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
a169eecc
...
...
@@ -134,7 +134,7 @@ resize_system_image() {
qemu-img resize
-f
raw
"
$c_system_file
"
"
$image_size
"
loopdev
=
$(
losetup
-P
-f
--show
"
$c_system_file
"
)
yes
|
e2fsck
-f
"
$loopdev
"
e2fsck
-f
-y
"
$loopdev
"
resize2fs
"
$loopdev
"
losetup
-d
"
$loopdev
"
}
...
...
@@ -288,7 +288,7 @@ install_dianxin() {
cp
-f
"
$build_dir
/hugep-all.zip"
"
$system_path
"
/bin/hugep-all.zip
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
-exec
install
-m
0777
-t
"
$system_path
"
/bin/
{}
\;
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
!
-name
"hugep"
!
-name
"hugep-start.sh"
-exec
install
-m
0777
-t
"
$system_path
"
/bin/
{}
\;
for
file
in
$(
find ./services/
-type
f
!
-name
"*.rc"
!
-name
"*.zip"
)
do
...
...
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