Commit 81e80301 authored by fuyanbin's avatar fuyanbin
Browse files

startthirdparty 配置文件放到 /system/etc 里

这样就不用再等待smallp解压了
parent de98230a
Pipeline #50052 passed with stages
in 44 seconds
......@@ -155,6 +155,11 @@ build_image() {
chcon u:object_r:drmserver_exec:s0 "$system_path/etc/init/$(basename "$file")"
done
if [[ -f /baseimages/"${VENDOR}-${ORGCODE}-thirdparty.json" ]]
then
cp /baseimages/"${VENDOR}-${ORGCODE}-thirdparty.json" "$system_path/etc/startthirdpartyprog.json"
fi
pack_image "$img"
}
......@@ -220,11 +225,6 @@ update_hugepall_zipfile() {
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"
if [[ -f /baseimages/"${VENDOR}-${ORGCODE}-thirdparty.json" ]]
then
cp /baseimages/"${VENDOR}-${ORGCODE}-thirdparty.json" "$build_dir/thirdparty.json"
zip -u -j "$hugep_zip_file" "$build_dir/thirdparty.json"
fi
}
upload() {
......
No preview for this file type
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