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
01bfd4c5
Commit
01bfd4c5
authored
Jan 24, 2024
by
fuyanbin
Browse files
更好的匹配
parent
7069e24c
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
01bfd4c5
...
@@ -71,7 +71,7 @@ build_image() {
...
@@ -71,7 +71,7 @@ build_image() {
rm
-f
"
$build_dir
/system/hugep-all.zip"
rm
-f
"
$build_dir
/system/hugep-all.zip"
rm
-f
"
$build_dir
/system/bin/hugep-all.zip"
rm
-f
"
$build_dir
/system/bin/hugep-all.zip"
android_sdk
=
"
$(
grep
"version
\.
sdk"
"
$build_dir
"
/system/build.prop |
awk
-F
'='
'{print $2}'
)
"
android_sdk
=
"
$(
grep
"
build
\.
version
\.
sdk"
"
$build_dir
"
/system/build.prop |
awk
-F
'='
'{print $2}'
)
"
if
[[
"
$android_sdk
"
-ge
28
]]
if
[[
"
$android_sdk
"
-ge
28
]]
then
then
find ./services/
-type
f
-name
"*.rc"
-exec
install
-t
"
$build_dir
"
/system/etc/init/
{}
\;
find ./services/
-type
f
-name
"*.rc"
-exec
install
-t
"
$build_dir
"
/system/etc/init/
{}
\;
...
...
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