]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: [Debian] Run 'silentoldconfig' when not editing a configuration
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 25 May 2017 13:15:08 +0000 (08:15 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:34:16 +0000 (07:34 -0500)
Config options which are '-' for a given flavor may have values
specified in common configuration files. Thus the initial config
file created by concatinating the fragments will have values for
these options which Kconfig will later delete.

However, when 'fdr editconfig' is run and the prompt to edit a
given configuration is declined, Kconfig does not modify the
config and these values remain. If any of these values is
enforced config-check will produce an error. We need to run
'make slientoldconfig' in this case so that the config files
will be accurate.

Ignore: yes
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
debian/scripts/misc/kernelconfig

index ffb608222ad224b1b28b68271e3f3b0cd3bc25be..060cc04b17aa1427af41183148d28c4aa4486c06 100755 (executable)
@@ -97,6 +97,10 @@ for arch in $archs; do
                                                make O=`pwd`/build ARCH=$kernarch menuconfig
                                                break ;;
                                        n* | N* )
+                                               # 'silentoldconfig' prevents
+                                               # errors for '-' options set
+                                               # in common config fragments
+                                               make O=`pwd`/build ARCH=$kernarch silentoldconfig
                                                break ;;
                                        *)
                                                echo "Entry not valid"