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
d9158aec
Commit
d9158aec
authored
Feb 08, 2024
by
fuyanbin
Browse files
有些固件的 system.parition 里还有一个 system 目录
parent
0ea150b8
Changes
1
Show whitespace changes
Inline
Side-by-side
pack.sh
View file @
d9158aec
...
@@ -86,7 +86,7 @@ build_image() {
...
@@ -86,7 +86,7 @@ build_image() {
android_sdk
=
"
${
android_sdk
//
$'
\n
'
}
"
android_sdk
=
"
${
android_sdk
//
$'
\n
'
}
"
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
"
$system
_path
"
/etc/init/
{}
\;
else
else
pushd
"
$boot_dir
"
pushd
"
$boot_dir
"
abootimg
-x
"
$build_dir
/boot.PARTITION"
ramdisk
abootimg
-x
"
$build_dir
/boot.PARTITION"
ramdisk
...
...
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