On 2014-12-02 21:45, j.gli...@gmail.com wrote: > From: Jérôme Glisse <jgli...@redhat.com> > > When doing make binrpm-pkg we only want to build the binary and header > package as the documentation of binrpm-pkg target claims. Hence this > patch avoid building the source and devel package. This makes binrpm-pkg > target lot faster and way more usefull. > > Changed since v2 : > - Avoid symlinks in /usr/src/kernel. > - Update subject line and changelog.
Thanks, much better! > echo 'rm -f $RPM_BUILD_ROOT'"/lib/modules/$KERNELRELEASE/{build,source}" > echo "mkdir -p "'$RPM_BUILD_ROOT'"/usr/src/kernels/$KERNELRELEASE" One last nitpick, then I'll merge the patch (promise!) -- the /usr/src/kernels/$KERNELRELEASE directory is not needed and in fact the rm -f above is also irrelevant. So please wrap the whole block in if ! $PREBUILT. Thanks, Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/