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