Dne 5.7.2013 15:04, Marciniszyn, Mike napsal(a): >> For consistency and compatibility with older tar versions, please use >> $RCS_TAR_EXCLUDE instead of --exclude-vcs. Also, you only need .config, >> scripts/, include/ and the Makefiles to build external modules. But that's an >> optimization that can be done in a later patch. >> > > I can't find any reference to the above string in kernel Makefiles or tar info? > > Do you have more details? It's $RCS_TAR_IGNORE, sorry. >>> +echo "%post devel" >>> +echo "cd /lib/modules/$KERNELRELEASE" >>> +echo "ln -sf /usr/src/kernels/$KERNELRELEASE build" >>> +echo "ln -sf /usr/src/kernels/$KERNELRELEASE source" >>> +echo "" >>> +echo "%postun devel" >>> +echo "cd /lib/modules/$KERNELRELEASE" >>> +echo "rm -f build source" >> >> These symlinks should be part of the RPM payload. > > I guess the %post* sections would then be not needed... Yes. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html