mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Rough chroot call failure check
This commit is contained in:
parent
271b0945c9
commit
d175d199eb
1 changed files with 4 additions and 2 deletions
|
@ -23,8 +23,10 @@ import libcalamares
|
||||||
|
|
||||||
def install_grub(boot_loader):
|
def install_grub(boot_loader):
|
||||||
install_path = boot_loader["installPath"]
|
install_path = boot_loader["installPath"]
|
||||||
libcalamares.utils.chroot_call(["grub-install", install_path])
|
ret = libcalamares.utils.chroot_call(["grub-install", install_path])
|
||||||
libcalamares.utils.chroot_call(["grub-mkconfig", "-o", "/boot/grub/grub.cfg"])
|
assert ret == 0
|
||||||
|
ret = libcalamares.utils.chroot_call(["grub-mkconfig", "-o", "/boot/grub/grub.cfg"])
|
||||||
|
assert ret == 0
|
||||||
|
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue