distro/package: BinaryPackage.acquire(): return (path: str, changed: bool)

This commit is contained in:
InsanePrawn 2023-04-17 07:17:12 +02:00
parent d527769473
commit 0c56038ed6
3 changed files with 11 additions and 9 deletions

View file

@ -80,7 +80,7 @@ class Device(DictScheme):
if self.package.name not in pkgs:
raise Exception(f"device package {self.package.name} somehow not in repos, this is a kupferbootstrap bug")
pkg = pkgs[self.package.name]
file_path = pkg.acquire()
file_path, _ = pkg.acquire()
assert file_path
assert os.path.exists(file_path)
deviceinfo_path = 'etc/kupfer/deviceinfo'