Merge pull request #406 from cmitu/cdimage-async-patch