blob: 7e8a736bd1ffec51e6560d1a38ad2461f5cbf58b [file] [log] [blame] [edit]
#!/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