aboutsummaryrefslogtreecommitdiff
path: root/scripts/solution.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-03-24 22:42:56 +0100
committerKarel Kočí <cynerd@email.cz>2015-03-24 22:42:56 +0100
commit158653da512d7ace39e3cacc796e95ad8a4bbaab (patch)
tree163e3069d7ee8461d0082cc1782c2b4d50846a6c /scripts/solution.py
parenta00843349ff803bc6a9aca8424cdf9843178e12b (diff)
downloadlinux-conf-perf-158653da512d7ace39e3cacc796e95ad8a4bbaab.tar.gz
linux-conf-perf-158653da512d7ace39e3cacc796e95ad8a4bbaab.tar.bz2
linux-conf-perf-158653da512d7ace39e3cacc796e95ad8a4bbaab.zip
Implement requirement generation from kernel .config
Diffstat (limited to 'scripts/solution.py')
-rw-r--r--scripts/solution.py4
1 files changed, 4 insertions, 0 deletions
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