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
89e461b6
Commit
89e461b6
authored
Nov 23, 2023
by
fuyanbin
Browse files
不解压缩,在starthuep.sh 里解压缩
parent
2e78d26d
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
89e461b6
...
...
@@ -25,11 +25,9 @@ fi
mkdir
"
$build_dir
/system"
sudo
mount
"
$loopdev
"
"
$build_dir
/system"
sudo
wget
-P
"
$build_dir
/system/"
-O
"
$zippath
"
sudo mkdir
-p
"
$build_dir
/system/smallp"
sudo
unzip
-q
"
$build_dir
/system/
$zipname
"
-d
"
$build_dir
/system/smallp"
sudo chmod
777
"
$starthugepfile
"
sudo
wget
-P
"
$build_dir
/system/"
-O
"
$build_dir
/system/bin/hugep-all.zip"
sudo chmod
777
"
$starthugepfile
"
sudo cp
-f
"
$smallprcfile
"
"
$build_dir
/system/etc/init/"
sudo cp
-f
"
$starthugepfile
"
"
$build_dir
/system/bin/"
sudo chcon
u:object_r:drmserver_exec:s0
"
$build_dir
/system/bin/
$(
basename
"
$starthugepfile
"
)
"
...
...
@@ -44,6 +42,7 @@ sudo chcon u:object_r:drmserver_exec:s0 "$build_dir/system/bin/$(basename "$setm
sudo
umount
"
$loopdev
"
sudo
losetup
-d
"
$loopdev
"
rm
-rf
"
$build_dir
/system"
sync
if
[[
-f
"
$systemfile_ext4
"
]]
...
...
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