Skip to content

Commit

Permalink
Add gpt.ini to flashfiles images
Browse files Browse the repository at this point in the history
The gpt.ini file is a GPT configuration file used
during the Android flashing process in the SOS environment.
Each build may have different partition tables.
We need these GPT files to prevent flashing failures

Test Done:
make flashfiles use_tar=true
Flash and boot success

Tracked-On: OAM-124426
Signed-off-by: Chen, Gang G <[email protected]>
  • Loading branch information
GangSecurity committed Sep 6, 2024
1 parent ca4a35f commit 95289b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions releasetools/flashfiles_from_target_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ do
else
if [[ $i == "startup.nsh" ]]; then
cp efi/startup.nsh $flashfile_dir/.
elif [[ $i == "gpt.ini" ]]; then
cp obj/PACKAGING/flashfiles_intermediates/root/$i $flashfile_dir/.
else
if [[ $i == "boot.img" || $i == "odm.img" || $i == "vbmeta.img" || $i == "vendor_boot.img" ]]; then
if [[ "$RELEASE_BUILD" == "true" ]]; then
Expand Down

0 comments on commit 95289b8

Please sign in to comment.