the grub templates need to be executable

This commit is contained in:
brent s. 2021-01-20 04:05:16 -05:00
parent 3bbd2c5d4d
commit be03c6bce8
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ class BaseUpdater(object):
os.path.expanduser(
os.path.join(self.grub_iso_dir,
self.dest_file)))))
os.chmod(self.grub_cfg, 0o0755)
cmd = subprocess.run(['grub-mkconfig',
'-o', '{0}/grub/grub.cfg'.format(self.boot_dir)],
stdout = subprocess.PIPE,