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
104655a7
Commit
104655a7
authored
Jan 23, 2024
by
fuyanbin
Browse files
fix: build path
parent
955d6454
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
104655a7
...
@@ -51,7 +51,7 @@ build_image() {
...
@@ -51,7 +51,7 @@ build_image() {
systemfile
=
"
$build_dir
/system.PARTITION"
systemfile
=
"
$build_dir
/system.PARTITION"
systemfile_ext4
=
"
$build_dir
/system.PARTITION.ext4"
systemfile_ext4
=
"
$build_dir
/system.PARTITION.ext4"
aml_image_v2_packer
-d
"
$img
"
"
./
$build_dir
"
aml_image_v2_packer
-d
"
$img
"
"
$build_dir
"
if
file
"
$systemfile
"
|
grep
"Android sparse image"
if
file
"
$systemfile
"
|
grep
"Android sparse image"
then
then
simg2img
"
$systemfile
"
"
$systemfile_ext4
"
simg2img
"
$systemfile
"
"
$systemfile_ext4
"
...
@@ -86,8 +86,8 @@ build_image() {
...
@@ -86,8 +86,8 @@ build_image() {
img2simg
"
$systemfile_ext4
"
"
$systemfile
"
img2simg
"
$systemfile_ext4
"
"
$systemfile
"
rm
-f
"
$systemfile_ext4
"
rm
-f
"
$systemfile_ext4
"
fi
fi
aml_image_v2_packer
-r
"
.
/
$build_dir
/image.cfg"
"
$build_dir
"
"
${
packge_dir
}
/
$(
basename
"
$img
"
)
"
aml_image_v2_packer
-r
"/
$build_dir
/image.cfg"
"
$build_dir
"
"
${
packge_dir
}
/
$(
basename
"
$img
"
)
"
rm
-rf
"
./
$build_dir
/"
rm
-rf
"
$build_dir
/"
}
}
generate_vendor_confg
()
{
generate_vendor_confg
()
{
...
...
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