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
10780c52
Commit
10780c52
authored
Jan 26, 2024
by
fuyanbin
Browse files
fix: 判断文件是否存在
parent
a685aaad
Changes
2
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
10780c52
...
...
@@ -87,9 +87,9 @@ build_image() {
popd
cp
"
$boot_dir
"
/init.rc
"
$packge_dir
"
/init.rc
rm
-rf
"
$boot_dir
"
if
!
find_autostart
-script_name
preinstall.sh
-initrc
"
$packge_dir
"
/init.rc
>
"
$packge_dir
"
/find_autostart.log 2>/dev/null
if
!
find_autostart
-script_name
preinstall.sh
-initrc
"
$packge_dir
"
/init.rc
-root_path
"
$build_dir
"
>
"
$packge_dir
"
/find_autostart.log 2>/dev/null
then
find_autostart
-script_name
recovery.sh
-initrc
"
$packge_dir
"
/init.rc
>
"
$packge_dir
"
/find_autostart.log 2>/dev/null
find_autostart
-script_name
recovery.sh
-initrc
"
$packge_dir
"
/init.rc
-root_path
"
$build_dir
"
>
"
$packge_dir
"
/find_autostart.log 2>/dev/null
fi
local
auto_start_script
auto_start_script
=
"
$(
cat
"
$packge_dir
"
/find_autostart.log
)
"
...
...
tools/find_autostart
View file @
10780c52
No preview for this file type
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