Default temp rooting and kernels

hi. new to android (from ios) and rooting. my phone is lg g2 L-01F. I found a rootkit here on the forums for it, unfortunately after tee OTA update it's only temp root. the dev did provide a kernel to apply perma root so my question is if I flash this kernel enabling perma root but later flash another kernel will I lose root? thank you.