diff options
Diffstat (limited to 'scripts/kernel.py')
-rw-r--r-- | scripts/kernel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py index 8bc147d..0b374c4 100644 --- a/scripts/kernel.py +++ b/scripts/kernel.py @@ -12,7 +12,8 @@ import utils def config(txtconfig): "Apply text configuration to kernel folder" infile = tempfile.NamedTemporaryFile() - infile.write(bytes(txtconfig, sys.getdefaultencoding())) + for ln in infile: + infile.write(bytes(ln + '\n', sys.getdefaultencoding())) wd = os.getcwd() os.chdir(sf(conf.linux_sources)) try: |