Regarding V6.8 and kernel version

I am using Odroid XU4 with DietPi v6.7 and kernel version 3.10.106+.When I install dietpi OS to new xu4 it automatically updates to v6.8 and kernel version 4.14.32 and the issue here is IR sensor in the cloudshell is not working properly.But it works fine in xu4 dietpi V6.7 with kernel version 3.10.106+. So I need dietpi package with v6.7 and it should not automatically upgrade to higher version.Please provide the above mentioned solution.