You can replace files in targetfiles.zip and then rebuild them / create ota. 
See what sign_target_files_apks.py is actually doing.


BR, K

________________________________
From: [email protected] <[email protected]> on 
behalf of Vladimir Belousov <[email protected]>
Sent: Thursday, May 28, 2020 06:11
To: Android Building <[email protected]>
Subject: [android-building] Change build version in target_files

Hi, we building an Android 10 using Jenkins.  My task is as follows: after the 
build, I get target_files (let's say version 1.1).  I want to get a full copy 
of these target_files but with a different version of the build without 
restarting the build (let's say 1.2).  This can be done?  The task is exactly 
this: from the original target_files to get their full copy, but so that the 
copy already has a different version (through the replacement of Build.prop or 
some other files).  Why this is done (there is probably a normal solution, but 
we did not come up with it): when we update the device to version 1.1 we want 
to make sure that this update doesn't break update_engine. To do this, we 
create a "fake version" with the following number (1.2) and re-update the 
device.  If everything works correctly, we can use version 1.1

--
--
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&amp;data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C5d24d7ff14374b0b161908d802f275ba%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C1%7C637262587664199634&amp;sdata=TosgRh2r%2BQluFmrO5jMlRA2Fgd5RtWjz5g%2FYRBQZriI%3D&amp;reserved=0

---
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fandroid-building%2F6d1f6254-08f5-430b-a6b9-96110dda13d6%2540googlegroups.com&amp;data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C5d24d7ff14374b0b161908d802f275ba%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C1%7C637262587664199634&amp;sdata=ArgSIAIqUG%2FxEY6r8jmPGSQH3pm8vFrDlaJparf%2BGfk%3D&amp;reserved=0.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/VI1P174MB001526F4C511463E9B339F3F918E0%40VI1P174MB0015.EURP174.PROD.OUTLOOK.COM.

Reply via email to