the grub templates need to be executable
This commit is contained in:
parent
3bbd2c5d4d
commit
be03c6bce8
1
_base.py
1
_base.py
@ -118,6 +118,7 @@ class BaseUpdater(object):
|
|||||||
os.path.expanduser(
|
os.path.expanduser(
|
||||||
os.path.join(self.grub_iso_dir,
|
os.path.join(self.grub_iso_dir,
|
||||||
self.dest_file)))))
|
self.dest_file)))))
|
||||||
|
os.chmod(self.grub_cfg, 0o0755)
|
||||||
cmd = subprocess.run(['grub-mkconfig',
|
cmd = subprocess.run(['grub-mkconfig',
|
||||||
'-o', '{0}/grub/grub.cfg'.format(self.boot_dir)],
|
'-o', '{0}/grub/grub.cfg'.format(self.boot_dir)],
|
||||||
stdout = subprocess.PIPE,
|
stdout = subprocess.PIPE,
|
||||||
|
Reference in New Issue
Block a user