Import check_chroot_call separately
This commit is contained in:
parent
01efeda801
commit
6131ed212a
@ -18,13 +18,13 @@
|
|||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import libcalamares
|
import libcalamares
|
||||||
|
from libcalamares.utils import check_chroot_call
|
||||||
|
|
||||||
|
|
||||||
def install_grub(boot_loader):
|
def install_grub(boot_loader):
|
||||||
install_path = boot_loader["installPath"]
|
install_path = boot_loader["installPath"]
|
||||||
libcalamares.utils.check_chroot_call(["grub-install", install_path])
|
check_chroot_call(["grub-install", install_path])
|
||||||
libcalamares.utils.check_chroot_call(
|
check_chroot_call(["grub-mkconfig", "-o", "/boot/grub/grub.cfg"])
|
||||||
["grub-mkconfig", "-o", "/boot/grub/grub.cfg"])
|
|
||||||
|
|
||||||
|
|
||||||
def run():
|
def run():
|
||||||
|
Loading…
Reference in New Issue
Block a user