Genimage
Genimage calls host tools. Install dosfstools (provides mkfs.vfat) and mtools on your build machine.
GenImage Quick Reference
| Command | Description |
| :--- | :--- |
| genimage --config <file.cfg> | Build image(s) defined in config file. |
| genimage --rootpath <dir> | Specify the source directory for content. |
| genimage --tmppath <dir> | Set temporary working directory. |
| genimage --outputpath <dir> | Define where to save the final image. | genimage
Common Use Cases
Error Handling Tips
Genimage allows you to run external commands before or after generating specific images using hook. This is vital for signing bootloaders or generating checksums. Genimage calls host tools
image u-boot.bin
raw
postprocess = "scripts/sign_imx_hab.sh $TARGET_DIR/$IMAGE"
yay -S genimage