--- trunk/include/kernel.sminc 2014/09/05 06:47:42 22123 +++ trunk/include/kernel.sminc 2018/01/18 14:48:44 30421 @@ -147,6 +147,13 @@ cd ${SRCDIR} kernel_apply_patches || die + # fix permissions after the patchwork + # gnu patch doesn't support git-style file mode + if [ -e tools/objtool/sync-check.sh ] + then + chmod +x tools/objtool/sync-check.sh || die + fi + # fixes INSTALL_PATH to /boot and EXTRAVERSION sed -i -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \ -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile || die