mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
chroot.py: add Chroot.reset()
This commit is contained in:
parent
d84e82ec64
commit
06fa679bd5
1 changed files with 4 additions and 0 deletions
|
@ -280,6 +280,10 @@ class Chroot:
|
|||
self.umount('proc')
|
||||
self.active = False
|
||||
|
||||
def reset(self):
|
||||
self.initialized = False
|
||||
self.initialize()
|
||||
|
||||
def run_cmd(self,
|
||||
script: str,
|
||||
inner_env: dict[str, str] = {},
|
||||
|
|
Loading…
Add table
Reference in a new issue