From 158653da512d7ace39e3cacc796e95ad8a4bbaab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 24 Mar 2015 22:42:56 +0100 Subject: Implement requirement generation from kernel .config --- scripts/solution.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/solution.py') diff --git a/scripts/solution.py b/scripts/solution.py index 969219e..fd6aa23 100644 --- a/scripts/solution.py +++ b/scripts/solution.py @@ -90,6 +90,10 @@ def apply(): # Write solution to .config file in linux source folder with open(conf.linux_sources + '/.config', 'w') as f: + with open(conf.dot_config_file, 'r') as fconf: + for line in fconf: + f.write(line) + for txt in solut: if txt[0] == '-': nt = True -- cgit v1.2.3