Skip to content

Commit 870d035

Browse files
DaanDeMeyercraftyguy
authored andcommitted
config: Fix type for devicetree setting
1 parent 1eeec6f commit 870d035

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mkosi/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ class Config:
20142014
initrd_packages: list[str]
20152015
initrd_volatile_packages: list[str]
20162016
microcode_host: bool
2017-
devicetree: Optional[Path]
2017+
devicetree: Optional[str]
20182018
splash: Optional[Path]
20192019
kernel_command_line: list[str]
20202020
kernel_modules_include: list[str]

tests/test_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def test_config() -> None:
510510
make_initrd=False,
511511
manifest_format=[ManifestFormat.json, ManifestFormat.changelog],
512512
microcode_host=True,
513-
devicetree=Path("freescale/imx8mm-verdin-nonwifi-dev.dtb"),
513+
devicetree="freescale/imx8mm-verdin-nonwifi-dev.dtb",
514514
minimum_version="123",
515515
mirror=None,
516516
nspawn_settings=None,

0 commit comments

Comments
 (0)