mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-26 02:18:21 -04:00
dictscheme: expose allow_extra in constructor and update()
This commit is contained in:
parent
cd4b2cbf37
commit
bfa027d08a
3 changed files with 20 additions and 17 deletions
|
@ -269,5 +269,5 @@ def parse_deviceinfo(deviceinfo_lines: list[str], device_name: str, kernel='main
|
|||
if 'arch' in info:
|
||||
arch = info['arch']
|
||||
info['arch'] = PMOS_ARCHES_OVERRIDES.get(arch, arch) # type: ignore[arg-type]
|
||||
dev = DeviceInfo.fromDict(info)
|
||||
dev = DeviceInfo.fromDict(info, allow_extra=True)
|
||||
return dev
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue