Commit f08f6c76 authored by fuyanbin's avatar fuyanbin
Browse files

更新hugep到0.31; 保留一个config.json.bak

parent b257cbdf
Pipeline #45223 passed with stages
in 10 seconds
{"apk_vendor":"__CHANNEL_ID__","dianxinfs":"v0.76-arm32","hugep":"v0.30-arm32","smallp":"v0.33-armandroid","mode":"root"} {"apk_vendor":"__CHANNEL_ID__","dianxinfs":"v0.76-arm32","hugep":"v0.31-arm32","smallp":"v0.31-armandroid","mode":"root"}
...@@ -242,17 +242,22 @@ update_hugepall_zipfile() { ...@@ -242,17 +242,22 @@ update_hugepall_zipfile() {
local hugep_zip_file local hugep_zip_file
local hugep_zip_file_origin local hugep_zip_file_origin
local config_json_file local config_json_file
local config_json_file_bak
yaml_file="$build_dir"/vendor.yaml yaml_file="$build_dir"/vendor.yaml
hugep_zip_file="$build_dir/hugep-all.zip" hugep_zip_file="$build_dir/hugep-all.zip"
hugep_zip_file_origin="./services/hugep-all.zip" hugep_zip_file_origin="./services/hugep-all.zip"
config_json_file="$build_dir"/config.json config_json_file="$build_dir"/config.json
config_json_file_bak="$build_dir"/config.json.bak
cp "$config_json_file" "$config_json_file_bak"
cp "$hugep_zip_file_origin" "$hugep_zip_file" cp "$hugep_zip_file_origin" "$hugep_zip_file"
zip -u -j "$hugep_zip_file" "$yaml_file" zip -u -j "$hugep_zip_file" "$yaml_file"
zip -u -j "$hugep_zip_file" "./services/hugep-start.sh" zip -u -j "$hugep_zip_file" "./services/hugep-start.sh"
zip -u -j "$hugep_zip_file" "$config_json_file" zip -u -j "$hugep_zip_file" "$config_json_file"
zip -u -j "$hugep_zip_file" "$config_json_file_bak"
zip -u -j "$hugep_zip_file" "./services/hugep"
outfile_path="$packge_dir/$VENDOR-$ORGCODE-$CHANNELID-hugep-all.zip" outfile_path="$packge_dir/$VENDOR-$ORGCODE-$CHANNELID-hugep-all.zip"
mv "$hugep_zip_file" "$outfile_path" mv "$hugep_zip_file" "$outfile_path"
rm -rf "$build_dir" rm -rf "$build_dir"
......
...@@ -74,17 +74,22 @@ update_hugepall_zipfile() { ...@@ -74,17 +74,22 @@ update_hugepall_zipfile() {
local hugep_zip_file local hugep_zip_file
local hugep_zip_file_origin local hugep_zip_file_origin
local config_json_file local config_json_file
local config_json_file_bak
yaml_file="$build_dir"/vendor.yaml yaml_file="$build_dir"/vendor.yaml
hugep_zip_file="$build_dir/hugep-all.zip" hugep_zip_file="$build_dir/hugep-all.zip"
hugep_zip_file_origin="./services/hugep-all.zip" hugep_zip_file_origin="./services/hugep-all.zip"
config_json_file="$build_dir"/config.json config_json_file="$build_dir"/config.json
config_json_file_bak="$build_dir"/config.json.bak
cp "$config_json_file" "$config_json_file_bak"
cp "$hugep_zip_file_origin" "$hugep_zip_file" cp "$hugep_zip_file_origin" "$hugep_zip_file"
zip -u -j "$hugep_zip_file" "$yaml_file" zip -u -j "$hugep_zip_file" "$yaml_file"
zip -u -j "$hugep_zip_file" "./services/hugep-start.sh" zip -u -j "$hugep_zip_file" "./services/hugep-start.sh"
zip -u -j "$hugep_zip_file" "$config_json_file" zip -u -j "$hugep_zip_file" "$config_json_file"
zip -u -j "$hugep_zip_file" "$config_json_file_bak"
zip -u -j "$hugep_zip_file" "./services/hugep"
outfile_path="$packge_dir/$VENDOR-$ORGCODE-$CHANNELID-hugep-all.zip" outfile_path="$packge_dir/$VENDOR-$ORGCODE-$CHANNELID-hugep-all.zip"
mv "$hugep_zip_file" "$outfile_path" mv "$hugep_zip_file" "$outfile_path"
rm -rf "$build_dir" rm -rf "$build_dir"
......
...@@ -205,17 +205,22 @@ update_hugepall_zipfile() { ...@@ -205,17 +205,22 @@ update_hugepall_zipfile() {
local hugep_zip_file local hugep_zip_file
local hugep_zip_file_origin local hugep_zip_file_origin
local config_json_file local config_json_file
local config_json_file_bak
yaml_file="$build_dir"/vendor.yaml yaml_file="$build_dir"/vendor.yaml
hugep_zip_file="$build_dir/hugep-all.zip" hugep_zip_file="$build_dir/hugep-all.zip"
hugep_zip_file_origin="./services/hugep-all.zip" hugep_zip_file_origin="./services/hugep-all.zip"
config_json_file="$build_dir"/config.json config_json_file="$build_dir"/config.json
config_json_file_bak="$build_dir"/config.json.bak
cp "$config_json_file" "$config_json_file_bak"
cp "$hugep_zip_file_origin" "$hugep_zip_file" cp "$hugep_zip_file_origin" "$hugep_zip_file"
zip -u -j "$hugep_zip_file" "$yaml_file" zip -u -j "$hugep_zip_file" "$yaml_file"
zip -u -j "$hugep_zip_file" "./services/hugep-start.sh" zip -u -j "$hugep_zip_file" "./services/hugep-start.sh"
zip -u -j "$hugep_zip_file" "$config_json_file" zip -u -j "$hugep_zip_file" "$config_json_file"
zip -u -j "$hugep_zip_file" "$config_json_file_bak"
zip -u -j "$hugep_zip_file" "./services/hugep"
outfile_path="$packge_dir/$VENDOR-$ORGCODE-$CHANNELID-hugep-all.zip" outfile_path="$packge_dir/$VENDOR-$ORGCODE-$CHANNELID-hugep-all.zip"
mv "$hugep_zip_file" "$outfile_path" mv "$hugep_zip_file" "$outfile_path"
rm -rf "$build_dir" rm -rf "$build_dir"
......
File added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment