distro/package: BinaryPackage.acquire(): return (path: str, changed: bool)
This commit is contained in:
parent
d527769473
commit
0c56038ed6
3 changed files with 11 additions and 9 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue