1.support specify patch-id, build-id and sanity check 2.simplify script and put it into libcare devel package