From 171dcf228bc41200cca9091d7bed1249c0c1c74b Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 24 May 2012 16:19:53 +0200 Subject: [PATCH] spec: dont check for stale symlinks --- kernel.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel.spec b/kernel.spec index e2d4a88..36a4a48 100644 --- a/kernel.spec +++ b/kernel.spec @@ -165,6 +165,11 @@ make -C %kernel_build_dir SUBDIRS=%_builddir/u2mfn modules export NO_BRP_STRIP_DEBUG=true export STRIP_KEEP_SYMTAB='*/vmlinux-*' +# /lib/modules/%kernelrelease-%build_flavor/build will be a stale symlink until the +# kernel-devel package is installed. Don't check for stale symlinks +# in the brp-symlink check: +export NO_BRP_STALE_LINK_ERROR=yes + cd %kernel_build_dir mkdir -p %buildroot/boot