chroot: clean up the copy_base instance var mess
This commit is contained in:
parent
8a31a98946
commit
746e42a4f6
4 changed files with 13 additions and 9 deletions
|
@ -3,6 +3,7 @@ import os
|
|||
|
||||
from glob import glob
|
||||
from shutil import rmtree
|
||||
from typing import ClassVar
|
||||
|
||||
from constants import Arch
|
||||
from exec.cmd import run_root_cmd
|
||||
|
@ -15,7 +16,7 @@ from .helpers import base_chroot_name
|
|||
|
||||
class BaseChroot(Chroot):
|
||||
|
||||
copy_base: bool = False
|
||||
_copy_base: ClassVar[bool] = False
|
||||
|
||||
def create_rootfs(self, reset, pacman_conf_target, active_previously):
|
||||
if reset:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue