| #!/bin/bash | |
| echo "Note: Should run 'lunch aosp_cf_x86_64_only_phone-trunk_staging-userdebug && m aosp_cf_system_x86_64 && m' before running this script" | |
| bp_base_path=$ANDROID_BUILD_TOP/out/soong/.intermediates/device/google/cuttlefish/system_image/aosp_cf_system_x86_64/android_common | |
| latest_hash=$(ls $bp_base_path -t | head -1) | |
| bp_path=$bp_base_path/$latest_hash/root | |
| echo $OUT | |
| echo $bp_path | |
| compare_images -t $OUT $bp_path -s system -i |