imported reposync function
adjusted ccache settings for kernel