[RFC PATCH 3/3] kbuild: rpm-pkg: set KCONFIG_NONINTERACTIVE_UPDATE
From: Masahiro Yamada
Date: Mon Sep 03 2018 - 06:03:30 EST
Prevent "make syncconfig" from prompting user inputs when new symbols
become available due to build environment changes.
Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
---
scripts/package/mkspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index f72c46a..86986c1 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -87,7 +87,7 @@ $S %prep
$S %setup -q
$S
$S %build
-$S make %{?_smp_mflags} ARCH=$ARCH KBUILD_BUILD_VERSION=%{release}
+$S make %{?_smp_mflags} ARCH=$ARCH KBUILD_BUILD_VERSION=%{release} KCONFIG_NONINTERACTIVE_UPDATE=1
$S
%install
mkdir -p %{buildroot}/boot
--
2.7.4