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
a13af026
Commit
a13af026
authored
Nov 24, 2023
by
fuyanbin
Browse files
fix: 下载hugep-all.zip
parent
89e461b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
a13af026
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
set
-e
set
-e
img
=
"
$1
"
img
=
"
$1
"
zippath
=
"
$2
"
zippath
=
"
$2
"
zipname
=
$(
basename
"
$zippath
"
)
build_dir
=
$(
mktemp
-d
./tmp.XXXXX
)
build_dir
=
$(
mktemp
-d
./tmp.XXXXX
)
systemfile
=
"
$build_dir
/system.PARTITION"
systemfile
=
"
$build_dir
/system.PARTITION"
...
@@ -25,7 +24,7 @@ fi
...
@@ -25,7 +24,7 @@ fi
mkdir
"
$build_dir
/system"
mkdir
"
$build_dir
/system"
sudo
mount
"
$loopdev
"
"
$build_dir
/system"
sudo
mount
"
$loopdev
"
"
$build_dir
/system"
sudo
wget
-P
"
$build_dir
/system/
"
-O
"
$build_dir
/system/bin/hugep-all.zip"
sudo
wget
"
$zippath
"
-O
"
$build_dir
/system/bin/hugep-all.zip"
sudo chmod
777
"
$starthugepfile
"
sudo chmod
777
"
$starthugepfile
"
sudo cp
-f
"
$smallprcfile
"
"
$build_dir
/system/etc/init/"
sudo cp
-f
"
$smallprcfile
"
"
$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