From ac9c3f22c50c079808ce4d551a8e57a879ee9680 Mon Sep 17 00:00:00 2001 From: Evgenii Shatokhin Date: Fri, 22 Jul 2016 16:37:05 +0300 Subject: [PATCH] Clean up after the config files have been generated Otherwise these no longer needed configuration files get installed, which is not good. --- kernel.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel.spec b/kernel.spec index 2dbb594..02a5301 100644 --- a/kernel.spec +++ b/kernel.spec @@ -671,6 +671,9 @@ for flav in ${FLAVOURS}; do echo "Created arch/x86/configs/%{arch_suffix}_defconfig-${flav}." done +# Remove the no longer needed parts of the config files +rm -f ./kernel.*.config + # make sure the kernel has the sublevel we know it has... LC_ALL=C perl -p -i -e "s/^SUBLEVEL.*/SUBLEVEL = %{sublevel}/" Makefile