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
9489ca32
Commit
9489ca32
authored
Jan 10, 2024
by
fuyanbin
Browse files
fix: typo
parent
beca0a5b
Changes
1
Show whitespace changes
Inline
Side-by-side
pack.sh
View file @
9489ca32
...
@@ -84,17 +84,17 @@ build_image() {
...
@@ -84,17 +84,17 @@ build_image() {
rm
-rf
"./
$build_dir
/"
rm
-rf
"./
$build_dir
/"
}
}
gen
a
rae_vendor_confg
()
{
gen
e
ra
t
e_vendor_confg
()
{
local
yaml_file_src
local
yaml_file_src
local
yaml_file
local
yaml_file
yaml_file
=
"
$build_dir
"
/vendor.yaml
yaml_file
=
"
$build_dir
"
/vendor.yaml
yaml_file_src
=
"
$build_dir
"
/vendor.yaml.src
yaml_file_src
=
"
$build_dir
"
/vendor.yaml.src
cp
vendor.yaml.src
"
$yaml_file_src
"
cp
vendor.yaml.src
"
$yaml_file_src
"
sed
-i
''
"s#
$
__VENDOR__
/
$VENDOR
/
g"
"
$yaml_file_src
"
sed
-i
''
"s#__VENDOR__
#
$VENDOR
#
g"
"
$yaml_file_src
"
sed
-i
''
"s#
$
__ORGCODE__
/
$ORGCODE
/
g"
"
$yaml_file_src
"
sed
-i
''
"s#__ORGCODE__
#
$ORGCODE
#
g"
"
$yaml_file_src
"
sed
-i
''
"s#
$
__CHROOT_TYPE__
/
$CHROOT_TYPE
/
g"
"
$yaml_file_src
"
sed
-i
''
"s#__CHROOT_TYPE__
#
$CHROOT_TYPE
#
g"
"
$yaml_file_src
"
sed
-i
''
"s#
$
__DEPLOY__
/
$DEPLOY
/
g"
"
$yaml_file_src
"
sed
-i
''
"s#__DEPLOY__
#
$DEPLOY
#
g"
"
$yaml_file_src
"
aio
-m
enc
-i
"
$yaml_file_src
"
-o
"
$yaml_file
"
aio
-m
enc
-i
"
$yaml_file_src
"
-o
"
$yaml_file
"
}
}
...
@@ -109,8 +109,12 @@ update_hugepall_zipfile() {
...
@@ -109,8 +109,12 @@ update_hugepall_zipfile() {
cp
"
$hugep_zip_file_origin
"
"
$hugep_zip_file
"
cp
"
$hugep_zip_file_origin
"
"
$hugep_zip_file
"
zip
-u
-j
"
$yaml_file
"
"
$hugep_zip_file
"
zip
-u
-j
"
$hugep_zip_file
"
"
$yaml_file
"
}
}
export
PATH
=
"
$PATH
"
:
"
$(
pwd
)
"
/tools/
export
PATH
=
"
$PATH
"
:
"
$(
pwd
)
"
/tools/
generate_vendor_confg
update_hugepall_zipfile
build_image
"
$IMAGE_FILE
"
build_image
"
$IMAGE_FILE
"
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