From 037f439d015d1186cdea5f24dd6e5498f5e5004b Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 1 Jul 2019 22:15:59 +0200 Subject: [PATCH] stages/grub2: fix defaults/grub This file was missing new-lines. Signed-off-by: Tom Gundersen --- stages/io.weldr.grub2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stages/io.weldr.grub2 b/stages/io.weldr.grub2 index f9574dcf..855e873e 100755 --- a/stages/io.weldr.grub2 +++ b/stages/io.weldr.grub2 @@ -50,9 +50,9 @@ def main(tree, input_dir, options): # Create the configuration file that determines how grub.cfg is generated. os.makedirs(f"{tree}/etc/default", exist_ok=True) with open(f"{tree}/etc/default/grub", "w") as default: - default.write("GRUB_TIMEOUT=0") - default.write("GRUB_DEFAULT=0") - default.write("GRUB_ENABLE_BLSCFG=true") + default.write("GRUB_TIMEOUT=0\n" + "GRUB_DEFAULT=0\n" + "GRUB_ENABLE_BLSCFG=true\n") # Create a working directory on a tmpfs, maybe we should implicitly # always do this.