embdgen.plugins.content.UBootEnvContent

class embdgen.plugins.content.UBootEnvContent.UBootEnvContent[source]

Bases: BinaryContent

U-Boot Environment region

The variables passed in using file and vars is merged with variables defined in vars overwriting variables defined in the variables file.

CONTENT_TYPE = 'uboot_env'
vars: Dict[str, str] | None = None

Variables placed in the environment

property file: Path | None

Variable file with key=value pairs

prepare() None[source]

Prepare content

This should calculate the size of the content and generate any files / information required by the owning class.

do_write(file: BufferedIOBase) None[source]