From: Alexey Shvetsov Date: Thu, 21 May 2020 13:23:58 +0000 (+0300) Subject: kernel-build.eclass: permit savedconfig without predef .config X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2544f8abcbddc23e9def2d65cb41603aadaadada;p=gentoo.git kernel-build.eclass: permit savedconfig without predef .config Signed-off-by: Alexey Shvetsov Signed-off-by: Michał Górny --- diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 028f0da8148e..ba4b012dc4cf 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -74,8 +74,8 @@ kernel-build_src_configure() { ARCH=$(tc-arch-kernel) ) - [[ -f .config ]] || die "Ebuild error: please copy default config into .config" restore_config .config + [[ -f .config ]] || die "Ebuild error: please copy default config into .config" mkdir -p "${WORKDIR}"/modprep || die mv .config "${WORKDIR}"/modprep/ || die