okay, sysresc refined a little bit...

This commit is contained in:
2021-01-20 17:45:05 -05:00
parent efc02fa4d9
commit 5ac4f35c93
4 changed files with 79 additions and 30 deletions

View File

@@ -142,7 +142,7 @@ class BaseUpdater(object):
fh.write(tpl.render(iso_path = os.path.abspath(
os.path.expanduser(
os.path.join(self.grub_iso_dir,
self.dest_file))),
self.dest_file))).lstrip('/'),
disk_uuid = self.boot_uuid))
os.chmod(self.grub_cfg, 0o0755)
cmd = subprocess.run(['grub-mkconfig',