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
52d82129
Commit
52d82129
authored
Nov 05, 2024
by
fuyanbin
Browse files
使用 wine(wine32) 调用 imgRePacker.exe打包allwinner的固件包
parent
4bee61f2
Pipeline
#60254
passed with stages
in 11 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
pack-ci.sh
View file @
52d82129
...
...
@@ -182,8 +182,12 @@ unpack_and_mount_image() {
echo
"Allwinner PhoenixSute Image Format Detected.."
is_allwinner
=
1
cp
"
$img
"
"
$update_img_tmp_dir
/update.img"
local
SCRIPT
local
WORKDIR
SCRIPT
=
$(
readlink
-f
"
\$
0"
)
WORKDIR
=
$(
dirname
"
$SCRIPT
"
)
pushd
"
$update_img_tmp_dir
"
imgrep
acker unpack ./update.img
/usr/lib/wine/wine
"
$WORKDIR
"
/tools/allwinner/win32/imgReP
acker
.exe
unpack ./update.img
popd
rm
-f
"
$update_img_tmp_dir
/update.img"
...
...
@@ -411,8 +415,12 @@ pack_image() {
echo
"Allwinner PhoenixSute Image Format Detected.."
__pack_super_img
"
$ALLWINNER_DEFAULT_SYSTEM_PARTITION_NAME
"
sleep
5
local
SCRIPT
local
WORKDIR
SCRIPT
=
$(
readlink
-f
"
\$
0"
)
WORKDIR
=
$(
dirname
"
$SCRIPT
"
)
pushd
"
$update_img_tmp_dir
"
imgrep
acker pack ./update.img.dump
/usr/lib/wine/wine
"
$WORKDIR
"
/tools/allwinner/win32/imgReP
acker
.exe
pack ./update.img.dump
popd
mv
"
$update_img_tmp_dir
/update.img"
"
$outfile_path
"
elif
[[
"
$is_rockchip
"
==
"1"
]]
...
...
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