Split up repos by arches, always add already-built packages to repo file again, don't use repo-add --new, ...
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
parent
1ba4dcfaec
commit
0b2caa02af
6 changed files with 155 additions and 96 deletions
|
@ -280,6 +280,9 @@ class ConfigStateHolder:
|
|||
paths = self.file['paths']
|
||||
return resolve_path_template(paths[path_name], paths)
|
||||
|
||||
def get_package_dir(self, arch: str):
|
||||
return os.path.join(self.get_path('packages'), arch)
|
||||
|
||||
def dump(self) -> str:
|
||||
dump_toml(self.file)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue