mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Import check_chroot_call separately
This commit is contained in:
parent
01efeda801
commit
6131ed212a
1 changed files with 3 additions and 3 deletions
|
@ -18,13 +18,13 @@
|
|||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import libcalamares
|
||||
from libcalamares.utils import check_chroot_call
|
||||
|
||||
|
||||
def install_grub(boot_loader):
|
||||
install_path = boot_loader["installPath"]
|
||||
libcalamares.utils.check_chroot_call(["grub-install", install_path])
|
||||
libcalamares.utils.check_chroot_call(
|
||||
["grub-mkconfig", "-o", "/boot/grub/grub.cfg"])
|
||||
check_chroot_call(["grub-install", install_path])
|
||||
check_chroot_call(["grub-mkconfig", "-o", "/boot/grub/grub.cfg"])
|
||||
|
||||
|
||||
def run():
|
||||
|
|
Loading…
Add table
Reference in a new issue