add patch_one_off for redhat