prepare to switch the kernel to another repository