Make the kpatch script compatible with both the kpatch core module and livepatch. This might involve making the kpatch core module sysfs interface identical to the livepatch interface.