teverettak:

if you look at howtos they basicly tell you what to do in chrooted enviroment and how to tweak certain system files. Writing script for that shouldn't be too much of a problem.

But how do you plan to compare two images?

I guess you could compare package list and and certain files that you mannualy changed.. but nothing more?