Skip to content

Commit

Permalink
create_disk.sh: add missing trailing newline in grub.cfg
Browse files Browse the repository at this point in the history
Fixes: c9036fa ("Serialize `grub-script` literally into image.json")
  • Loading branch information
bgilbert committed Jun 3, 2022
1 parent 04a5f22 commit 45fc1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/create_disk.sh
Expand Up @@ -367,7 +367,7 @@ install_grub_cfg() {
# 0700 to match the RPM permissions which I think are mainly in case someone has
# manually set a grub password
mkdir -p -m 0700 $rootfs/boot/grub2
printf "%s" "$grub_script" > $rootfs/boot/grub2/grub.cfg
printf "%s\n" "$grub_script" > $rootfs/boot/grub2/grub.cfg
}

# Other arch-specific bootloader changes
Expand Down

0 comments on commit 45fc1e7

Please sign in to comment.