def METHOD_NAME(self, dst_postinst_dir, src_postinst_dir):
    if bb.utils.contains("IMAGE_FEATURES", "package-management",
                     True, False, self.d):
        return
    num = 0
    for p in self._get_delayed_postinsts():
        bb.utils.mkdirhier(dst_postinst_dir)
        if os.path.exists(os.path.join(src_postinst_dir, p + ".postinst")):
            shutil.copy(os.path.join(src_postinst_dir, p + ".postinst"),
                        os.path.join(dst_postinst_dir, "%03d-%s" % (num, p)))
        num += 1