File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1208,6 +1208,7 @@ if [[ $pack_method == "aosp" ]];then
1208
1208
fi
1209
1209
fi
1210
1210
rm -rf out/target/product/${base_rom_code} /META/ab_partitions.txt
1211
+ rm -rf out/target/product/${base_rom_code} /META/update_engine_config.txt
1211
1212
rm -rf out/target/product/${base_rom_code} /target-file.zip
1212
1213
for part in out/target/product/${base_rom_code} /IMAGES/* .img; do
1213
1214
partname=$( basename " $part " .img)
@@ -1235,6 +1236,11 @@ if [[ $pack_method == "aosp" ]];then
1235
1236
echo " ab_update=true"
1236
1237
} >> out/target/product/${base_rom_code} /META/misc_info.txt
1237
1238
1239
+ {
1240
+ echo " PAYLOAD_MAJOR_VERSION=2"
1241
+ echo " PAYLOAD_MINOR_VERSION=8"
1242
+ } >> out/target/product/${base_rom_code} /META/update_engine_config.txt
1243
+
1238
1244
if [[ " $is_ab_device " == false ]]; then
1239
1245
sed -i " /ab_update=true/d" out/target/product/${base_rom_code} /META/misc_info.txt
1240
1246
{
You can’t perform that action at this time.
0 commit comments