Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/grss:master commit in: grs/
Date: Sun, 18 Feb 2018 16:37:22
Message-Id: 1518971783.a7fc9bfe8447be1804066f5c5da4209784960c7e.blueness@gentoo
1 commit: a7fc9bfe8447be1804066f5c5da4209784960c7e
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 18 16:36:23 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 18 16:36:23 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=a7fc9bfe
7
8 grs/Kernel.py: use scripts/genkernel.conf if provided
9
10 grs/Kernel.py | 3 +++
11 1 file changed, 3 insertions(+)
12
13 diff --git a/grs/Kernel.py b/grs/Kernel.py
14 index cbe470e..2bc3e72 100644
15 --- a/grs/Kernel.py
16 +++ b/grs/Kernel.py
17 @@ -42,6 +42,7 @@ class Kernel():
18 self.logfile = logfile
19 self.kernel_config = os.path.join(self.libdir, 'scripts/kernel-config')
20 self.busybox_config = os.path.join(self.libdir, 'scripts/busybox-config')
21 + self.genkernel_config = os.path.join(self.libdir, 'scripts/genkernel.conf')
22
23
24 def parse_kernel_config(self):
25 @@ -130,6 +131,8 @@ class Kernel():
26 cmd += '--arch-override=%s ' % arch
27 if os.path.isfile(self.busybox_config):
28 cmd += '--busybox-config=%s ' % self.busybox_config
29 + if os.path.isfile(self.genkernel_config):
30 + cmd += '--config=%s ' % self.genkernel_config):
31 if has_modules:
32 cmd += 'all'
33 else: