mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-22 21:25:43 -05:00
distro/distro: add scan
parameter to get_base_distro()
This commit is contained in:
parent
9f5bafab57
commit
066b6abaaa
1 changed files with 2 additions and 2 deletions
|
@ -72,9 +72,9 @@ class RemoteDistro(Distro[RemoteRepo]):
|
|||
return RemoteRepo(**kwargs)
|
||||
|
||||
|
||||
def get_base_distro(arch: str) -> RemoteDistro:
|
||||
def get_base_distro(arch: str, scan: bool = False) -> RemoteDistro:
|
||||
repos = {name: RepoInfo(url_template=url) for name, url in BASE_DISTROS[arch]['repos'].items()}
|
||||
return RemoteDistro(arch=arch, repo_infos=repos, scan=False)
|
||||
return RemoteDistro(arch=arch, repo_infos=repos, scan=scan)
|
||||
|
||||
|
||||
def get_kupfer(arch: str, url_template: str, scan: bool = False) -> Distro:
|
||||
|
|
Loading…
Add table
Reference in a new issue