mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 13:45:45 -05:00
chroot.cmd_inspect(): fix Chroot.init() -> Chroot.initialize()
This commit is contained in:
parent
ddab25b030
commit
08141c35e9
1 changed files with 2 additions and 2 deletions
|
@ -572,12 +572,12 @@ def cmd_chroot(type: str = 'build', arch: str = None, enable_crossdirect=True):
|
|||
if type == 'base':
|
||||
chroot = get_base_chroot(arch)
|
||||
if not os.path.exists(os.path.join(chroot.path, 'bin')):
|
||||
chroot.init()
|
||||
chroot.initialize()
|
||||
chroot.initialized = True
|
||||
elif type == 'build':
|
||||
chroot = get_build_chroot(arch, activate=True)
|
||||
if not os.path.exists(os.path.join(chroot.path, 'bin')):
|
||||
chroot.init()
|
||||
chroot.initialize()
|
||||
chroot.initialized = True
|
||||
chroot.mount_pkgbuilds()
|
||||
if config.file['build']['crossdirect'] and enable_crossdirect:
|
||||
|
|
Loading…
Add table
Reference in a new issue