Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 21 May 2020 14:30:58
Message-Id: 1590071419.2544f8abcbddc23e9def2d65cb41603aadaadada.mgorny@gentoo
1 commit: 2544f8abcbddc23e9def2d65cb41603aadaadada
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 13:23:58 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 14:30:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2544f8ab
7
8 kernel-build.eclass: permit savedconfig without predef .config
9
10 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 eclass/kernel-build.eclass | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
17 index 028f0da8148..ba4b012dc4c 100644
18 --- a/eclass/kernel-build.eclass
19 +++ b/eclass/kernel-build.eclass
20 @@ -74,8 +74,8 @@ kernel-build_src_configure() {
21 ARCH=$(tc-arch-kernel)
22 )
23
24 - [[ -f .config ]] || die "Ebuild error: please copy default config into .config"
25 restore_config .config
26 + [[ -f .config ]] || die "Ebuild error: please copy default config into .config"
27
28 mkdir -p "${WORKDIR}"/modprep || die
29 mv .config "${WORKDIR}"/modprep/ || die